britive viewsecret
- Print
- PDF
britive viewsecret
- Print
- PDF
Article Summary
Description
This command displays the secret details.
Usage
$ britive viewsecret [PATH] |
where [PATH[ is an optional argument and is [PATH] to the secret.
Use the command britive viewsecret --help to know more about the arguments and options available for this command.
Command Options
Option | Extended Options | Description |
-b | --blocktime | Specify block time for polling, in minutes. Default value is 5 minutes. |
-f | --format | Specify the -f option or --format option for the display of output. You can enter any of the following values:
|
-j | --justification | Specify justification for the approval. |
-m | --maxpolltime | Specify the maximum poll time in minutes. Default value is 10 minutes. |
-s | --secretonly | Displays only secret. |
-t | --token | This option is used in token-based authentication. Specify the token value in this option. For more information about the usage of this option, see Examples: Usage of Service Identities in Britive CLI. |
--auth | Specify this option before the -t or --token option. This option specifies that the token authentication method is used while running the britive l command. | |
-F | --file | Specify the path for the secret file to be downloaded. If provided '-', the secret file will be printed to the standard output. |
Example (britive viewsecret)
$ britive viewsecret /cli_node/cli_secret1 |
Output
The secret information about the specified secret is displayed.
Was this article helpful?