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:
Max Winslow
2023-02-17 21:51:48 -07:00
committed by GitHub
parent 59a5b351cd
commit e416190238
2 changed files with 22 additions and 0 deletions

View 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
```

View File

@@ -745,6 +745,10 @@
}
]
},
{
"title": "<code>print</code>",
"path": "commands/print"
},
{
"title": "<code>read</code>",
"path": "commands/read"