You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the vault lease expired , lease not renew and getting the below issue
org.springframework.vault.VaultException: Cannot renew lease: Status 400 Bad Request lease expired
Once the lease expired getting the
The provided token has expired. (Service: Amazon S3; Status Code: 400; Error Code: ExpiredToken; Request ID: 4AP7WCZ4N57C46T322; S3 Extended Request ID: s+75L1hrOTLq/oFNDL9DvVYP1R+4KDL7NvpNzISyuGxe345s324232332434=; Proxy: null)"
Sample
spring.cloud.vault.enabled=true
spring.cloud.vault.scheme=https
spring.cloud.vault.host=vault-host
spring.cloud.vault.port = port
spring.cloud.vault.uri = uri
spring.cloud.vault.config.lifecycle.min-renewal = 1m
spring.cloud.vault.config.lifecycle.expiry-threshold = 5m
spring.cloud.vault.token=KUBERNETES
What version of Spring Cloud Vault and Spring Vault are you using?
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal yet complete sample that reproduces the problem.
You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.
Describe the bug
Once the vault lease expired , lease not renew and getting the below issue
org.springframework.vault.VaultException: Cannot renew lease: Status 400 Bad Request lease expired
Once the lease expired getting the
The provided token has expired. (Service: Amazon S3; Status Code: 400; Error Code: ExpiredToken; Request ID: 4AP7WCZ4N57C46T322; S3 Extended Request ID: s+75L1hrOTLq/oFNDL9DvVYP1R+4KDL7NvpNzISyuGxe345s324232332434=; Proxy: null)"
Sample
spring.cloud.vault.enabled=true
spring.cloud.vault.scheme=https
spring.cloud.vault.host=vault-host
spring.cloud.vault.port = port
spring.cloud.vault.uri = uri
spring.cloud.vault.config.lifecycle.min-renewal = 1m
spring.cloud.vault.config.lifecycle.expiry-threshold = 5m
spring.cloud.vault.token=KUBERNETES
spring.cloud.vault.aws.enabled=true
spring.cloud.vault.aws.role=dev-role
spring.cloud.vault.aws.backend=aws
spring.cloud.vault.aws.credential-type=assumed_role
spring.cloud.vault.aws.access-key-property=cloud.aws.credentials.accessKey
spring.cloud.vault.aws.secret-key-property=cloud.aws.credentials.secretKey
spring.cloud.vault.aws.session-token-key-property=cloud.aws.credentials.sessionToken
The text was updated successfully, but these errors were encountered: