nais secret unset
nais secret unset NAME [flags]
This command removes a key-value pair from a secret.
Options
--key- Name of the key to unset.
-y,--yes- Automatic yes to prompts; assume ‘yes’ as answer to all prompts and run non-interactively.
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.
Examples
# Unset a key from a secret.
$ nais secret unset my-secret --environment dev --key OLD_API_KEY