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
Hello,
i use vault v1.17.5 and org.springframework.cloud:spring-cloud-vault-dependencies:4.0.1 with org.springframework.vault:spring-vault-core:3.1.2
When using kv_v1 secrets i get an error after 6 hours and i don’t know why.
Until the 6 hour mark the kv-secrets are refreshed regularly and auth/token/renew-self
and auth/aws-iam/login are called successfully every 1 hour.
But after 6 hours i get “error making upstream request: received error code 403 from STS: The security token included in the request is expired”:
This doesnt correspond to the ttl of the “aws-iam” auth backend which is set to 3 hours and also not to the roles STS 1 hour maximum ttl.
I don’t understand where this 6 hour expiration comes from.
Anybody have an idea?
spring boot config:
# General
spring:
cloud:
vault:
enabled: true
host: vault.dev.local
port: 8200
scheme: https
authentication: AWS_IAM
aws-iam:
role: studiomiddleware-api-dev
aws-path: aws-iam
kv:
enabled: true
session:
lifecycle:
enabled: true
refresh-before-expiry: 2m
expiry-threshold: 4m
config:
lifecycle:
enabled: true
min-renewal: 30s # does not refresh more frequently than this
expiry-threshold: 2m # attempts to renew the secrets this much time before they expire
config:
import: vault://secret/studiomiddleware-api/dev
The text was updated successfully, but these errors were encountered:
Hello,
i use vault v1.17.5 and org.springframework.cloud:spring-cloud-vault-dependencies:4.0.1 with org.springframework.vault:spring-vault-core:3.1.2
When using kv_v1 secrets i get an error after 6 hours and i don’t know why.
Until the 6 hour mark the kv-secrets are refreshed regularly and auth/token/renew-self
and auth/aws-iam/login are called successfully every 1 hour.
But after 6 hours i get “error making upstream request: received error code 403 from STS: The security token included in the request is expired”:
This doesnt correspond to the ttl of the “aws-iam” auth backend which is set to 3 hours and also not to the roles STS 1 hour maximum ttl.
I don’t understand where this 6 hour expiration comes from.
Anybody have an idea?
spring boot config:
The text was updated successfully, but these errors were encountered: