describe secret

Display all details about a secret

Synopsis

Describe

It is very important to understand that this command will reveal the secret's actual value on the command-line in the default terminal editor. If one is not set it via the EDITOR environment variable, torero will default to vim. The temporary file will be removed after exiting the editor. This is a security design that prevents the password being inadvertently printed to logs.

torero will need to know where your encryption key file exists before running the actual command. This can be done via the --encryption-file flag or the TORERO_SECRETS_ENCRYPT_KEY_FILE configuration variable.

P.S. To exit vim: - Press Esc to enter the Command mode - Type : to launch the prompt bar - Type q to send in the quit command - Hit Enter

torero describe secret <secret-name> [flags]

Examples

Describe A Secret Via The Encryption File Flag

>_ torero describe secret my-secret \
--encryption-file /Users/torerouser/.torero.d/torero_secret.key

Describe A Secret Via The Encryption File Configuration Vars

This command assumes that you have previously set the configuration variable TORERO_SECRETS_ENCRYPT_KEY_FILE.

>_ torero describe secret my-secret

Options

      --encryption-file string   The file to use for the decryption of the secret. (default "/etc/torero/torero_secret.key")
  -h, --help                     help for secret

Options inherited from parent commands

      --config string   Path to the configuration file
      --raw             Displays the result of the command in its raw format
      --verbose         Enable verbose output

SEE ALSO