Home / Keptn v1 Docs / Release 0.8.7 / Reference / Keptn CLI / Commands / keptn create secret
Creates a new secret
keptn create secret SECRET_NAME --from-literal="key1=value1"" --from-literal="key2=value2" --scope=my-scope [flags]
keptn create secret SECRET_NAME --from-literal="key1=value1"" --from-literal="key2=value2" --scope=my-scope
--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")
-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