fca7cb3794
* website: replace deprecated <tt> with <code> in front matter sidebar_title * website: wrap front matter sidebar_title in <code> for commands pages
1.2 KiB
1.2 KiB
layout | page_title | sidebar_title | sidebar_current | description |
---|---|---|---|---|
docs | token - Command | <code>token</code> | docs-commands-token | The "token" command groups subcommands for interacting with tokens. Users can create, lookup, renew, and revoke tokens. |
token
The token
command groups subcommands for interacting with tokens. Users can
create, lookup, renew, and revoke tokens.
For more information on tokens, please see the token concepts page.
Examples
Create a new token:
$ vault token create
Revoke a token:
$ vault token revoke 96ddf4bc-d217-f3ba-f9bd-017055595017
Renew a token:
$ vault token renew 96ddf4bc-d217-f3ba-f9bd-017055595017
Usage
Usage: vault token <subcommand> [options] [args]
# ...
Subcommands:
capabilities Print capabilities of a token on a path
create Create a new token
lookup Display information about a token
renew Renew a token lease
revoke Revoke a token and its children
For more information, examples, and usage about a subcommand, click on the name of the subcommand in the sidebar.