🎉 Thanks for your feedback! Docs Cloud Reference rpk Commands rpk security rpk security secret rpk security secret update rpk security secret update Update an existing secret for your cluster. Scopes define the areas where the secret can be used. Available scopes are: redpanda_connect redpanda_cluster You can set one or both scopes on a secret. Updating a secret’s scopes will overwrite its current scopes. Usage rpk security secret update [flags] Examples To update the value of the secret: rpk security secret update --name NETT --value new_value To update the scope of a secret to both redpanda_connect and redpanda_cluster: rpk security secret update --name NETT2 --value value --scopes redpanda_connect,redpanda_cluster Flags Value Type Description -h, --help - Help for update. --name string Name of the secret. The name must be in uppercase and can only contain letters, digits, and underscores. You cannot update the name of an existing secret. --scopes stringArray Scope(s) of the secret (for example, redpanda_connect). --value string New value of the secret. --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. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk security secret list rpk security user