Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn

keptn create secret

keptn create secret

Creates a new secret

keptn create secret SECRET_NAME --from-literal="key1=value1"" --from-literal="key2=value2" --scope=my-scope [flags]

Examples

keptn create secret SECRET_NAME --from-literal="key1=value1"" --from-literal="key2=value2" --scope=my-scope

Options

      --from-literal stringArray   Specify a key and literal value to insert in secret (i.e. my-key=some-value)
  -s, --scope string               The scope of the secret (default "keptn-default")

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -h, --help                 help
      --mock                 Disables communication to a Keptn endpoint
  -n, --namespace string     Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
  -q, --quiet                Suppresses debug and info messages
  -v, --verbose              Enables verbose logging to print debug messages
  -y, --yes                  Assume yes for all user prompts

SEE ALSO

Auto generated by spf13/cobra on 11-Jul-2022