Skip to content
Advertisement

Tag: hashicorp-vault

Is there a way to know expire vault client tokens?

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 ? 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?

Advertisement