Appearance
metaplay secrets show ENVIRONMENT NAME [flags]
Show a user secret in the target environment
Appearance
Show a user secret in the target environment
metaplay secrets show ENVIRONMENT NAME [flags] Show the contents of a single user secret.
By default, a human-readable text format is used. When using in a script, use the --format=json to output JSON format.
Expected arguments:
Related commands:
# Show the contents of secret user-mysecret in environment nimbly.
metaplay secrets show nimbly user-mysecret
# Show the contents of secret in text format (default).
metaplay secrets show nimbly user-mysecret --format=text
# Show the contents of secret in JSON format.
metaplay secrets show nimbly user-mysecret --format=json
# Extract the value of the secret field named 'default' and decode the raw value of it.
metaplay secrets show nimbly user-mysecret --format=json | jq -r .data.default | base64 -d--format <string>: Output format. Valid values are 'text' or 'json'. JSON format includes all Kubernetes metadata. (default: text)--color <string>: Should the output be colored (yes/no/auto)? [env: METAPLAYCLI_COLOR] (default: auto)--project <string>: Path to the to project directory (where metaplay-project.yaml is located)--skip-version-check: Skip the check for a new CLI version being available--verbose: Enable verbose logging, useful for troubleshooting [env: METAPLAYCLI_VERBOSE]