ks secret set

ks secret set

Updates a secret’s value for the current environment

Synopsis

Updates a secret’s value for the current environment.

Changes the value of a secret without altering other environments.

ks secret set <secret name> [secret value] [flags]

Examples

ks secret set PORT 3000

# Change the value of PORT for the 'staging' environment:
ks --env staging PORT 4545

Options

  -h, --help   help for set

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default

SEE ALSO

Auto generated by spf13/cobra on 13-Oct-2021

Edit this page on GitHub