Skip to content

flow secret get

Get the value of a secret in the current vault.

shell
flow secret get REFERENCE [flags]

Examples

shell
flow secret get MY_TOKEN
flow secret get MY_TOKEN --as-plain-text
flow secret get MY_TOKEN --copy

Options

FlagTypeDescription
--copyCopy the secret value to the clipboard
-h, --helphelp for get
-o, --outputstringOutput format. One of: yaml, json, or tui.
-p, --plaintextOutput the secret value as plain text instead of an obfuscated string
-V, --vaultstringVault name to use instead of the current vault.

Options inherited from parent commands

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also