ks secret require

ks secret require

Marks a secret as required

Synopsis

Marks a secret as required.

Secrets marked as required cannot be unset or set to blank value. If they are, ks source will exit with a non-zero exit code.

Additionally, ks ci send will fail if a required secrets are missing.

ks secret require <secret name> [flags]

Examples

ks secret require PORT

Options

  -h, --help   help for require

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --debug           debug output
      --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 12-Jan-2023

Edit this page on GitHub