Cloud

rpk security secret update

Update an existing secret for your Redpanda Cloud cluster.

Scopes define the areas where the secret can be used. Updating a secret will overwrite its scopes. Available scope options are: redpanda_connect, redpanda_cluster.

Usage

rpk security secret update [flags]

Flags

Value Type Description

--name

string

Name of the secret, must be uppercase and can only contain letters, digits, and underscores.

--scopes

stringSlice

Scope of the secret (for example, redpanda_connect).

--value

string

New secret value of the secret.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.