hashicorp vault check token date code example
Example 1: lookup token information in vault
#Creation of token with Explicit TTL
vault token create --ttl=600
Example 2: lookup token information in vault
#Vault renew token duration
vault token renew --increment=30m <TOKEN>