mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Add vault print token to commands in Vault docs (#19183)
* doc-update * Update website/content/docs/commands/print.mdx Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com> --------- Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
This commit is contained in:
18
website/content/docs/commands/print.mdx
Normal file
18
website/content/docs/commands/print.mdx
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
layout: docs
|
||||
page_title: version - Command
|
||||
description: The "print" command prints the Vault token currently in use.
|
||||
---
|
||||
|
||||
# print
|
||||
|
||||
The `print` command prints the Vault token currently in use. The only available subcommand is `token`.
|
||||
|
||||
## Examples
|
||||
|
||||
Print the current token.
|
||||
|
||||
```shell-session
|
||||
$ vault print token
|
||||
hvs.CAESICaie3Dm0_Hx001QuMabo1IXnyKkx_FuE14MH7zir_bqGh4KHGh2cy5wQnJsZzZ6WG82b29HUlI3eFdEQ0NPQzQ
|
||||
```
|
||||
@@ -745,6 +745,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "<code>print</code>",
|
||||
"path": "commands/print"
|
||||
},
|
||||
{
|
||||
"title": "<code>read</code>",
|
||||
"path": "commands/read"
|
||||
|
||||
Reference in New Issue
Block a user