Home / Keptn v1 Docs / Release 1.y.z / Reference / Keptn CLI / Commands / keptn get secret
Gets the list of secrets managed by the Keptn secret-service
keptn get secret [flags]
keptn get secrets
NAME
my-secret-1
my-secret-2
keptn get secrets -output=yaml # Returns secret list in YAML format
keptn get secrets -output=json # Returns secret list in JSON format
-o, --output string Output format. One of json|yaml
--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 (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