vault get tokens code example
Example 1: check default token ttl value in vault
vault read sys/auth/token/tune
Example 2: lookup token information in vault
#Creation of token with Explicit TTL
vault token create --ttl=600
vault read sys/auth/token/tune
#Creation of token with Explicit TTL
vault token create --ttl=600