Describe the bug
I have configured the Config Server to use Vault as backed and tried to use the authentication mechanism of APPROLE pull method. I need to renew the initial login token that has a TTL of 30 days. The token I'm using to get the role and secrete id.
I want to renew this initial token. Is there a way to do that? I couldn't find any documents related to that. The vault Initial token I'm generating (getToken()) and passing to pull methods.
Note: client token return by this API auth/approle/login renews automatically every 5 mins.
Describe the bug I have configured the Config Server to use Vault as backed and tried to use the authentication mechanism of APPROLE pull method. I need to renew the initial login token that has a TTL of 30 days. The token I'm using to get the role and secrete id.
I'm using spring boot 3.0.3, Java 17.
Pom.xml
Java config
@Override public ClientAuthentication clientAuthentication() {
I want to renew this initial token. Is there a way to do that? I couldn't find any documents related to that. The vault Initial token I'm generating (getToken()) and passing to pull methods.
Note: client token return by this API auth/approle/login renews automatically every 5 mins.