How to set Token Eternity Duration

I want to make Token Eternity Duration. (token_duration : ∞)

How to set Eternity Duration ?
Ex) $ vault token renew -increment=EXTENSION TOKEN

0 or 0s or Eternity or something else.


Vault has no concept of eternity, every token has its TTL (except the root token), if you set the TTL to 0 the system default TTL is going to be used, which by default is 32 days.


Hi Martin,

The default maximum TTL(=Duration) for tokens (except root tokens) is 32 days for security.
And I set it up and it’s possible for 100 years if the manager wants it.