I’m using https://www.vaultproject.io/docs/auth/approle.html to generate vault client tokens,but I want to know tokens expire state. Is that possible ?
Advertisement
Answer
You can get lease_duration and compare it with the current date time. If current date time is after lease_duration, token should be expired. Can you please try?