rpk security secret delete

Delete an existing secret from your cluster.

Deleting a secret is irreversible. Ensure you have backups or no longer need the secret before proceeding.

Usage

rpk security secret delete [flags]

Flags

Value Type Description

-h, --help

-

Help for delete.

--name

string

Name of the secret to delete (required).

--config

string

Redpanda or rpk config file. Default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings. See rpk -X or run rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

rpk profile to use.

-v, --verbose

-

Enable verbose logging.