Hashicorp Vault - Display token details (lookup)
by
Jeremy Canfield |
Updated: August 26 2021
| Hashicorp Vault articles
This assumes you have installed the Hashicorp vault and that the vault is up and running, the vault has been unsealed, and that you have logged into the vault.
The vault token lookup command can be used to display the details of a token.
~]# vault token lookup s.7Vq9M9i71j0QHN8w6aIMHKDd
Key Value
--- -----
accessor vZerq5v1nd4y07nmddcwLZGp
creation_time 1629974775
creation_ttl 0s
display_name root
entity_id n/a
expire_time <nil>
explicit_max_ttl 0s
id s.7Vq9M9i71j0QHN8w6aIMHKDd
meta <nil>
num_uses 0
orphan true
path auth/token/root
policies [root]
ttl 0s
type service
Did you find this article helpful?
If so, consider buying me a coffee over at