vault token renew code example
Example 1: lookup token information in vault
#Lookup for Token Information in vault
vault token lookup <TOKEN>
#By default Duration is 768h and it comes from where? check with below command
vault read sys/auth/token/tune
Example 2: lookup token information in vault
#Creation of token with Explicit TTL
vault token create --ttl=600