Home / Keptn v1 Docs / Release 0.10.0 / Reference / Keptn CLI / Commands / keptn update secret
Updates an existing secret
keptn update secret SECRET_NAME --from-literal="key1=value1"" --from-literal="key2=value2 --scope=my-scope" [flags]
keptn update 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