How to request a secret with longer TTL?
Currently my AWS AssumeRole secret has a default lease_duration of 1h. I would like to request a secret for 2h. This secret request should be done by the vault agent init containers running on kubernetes.
I know that the vault cli has a option to achieve it using a command
vault read aws/test/my-secret ttl=2h
What will be the relevant annotation to achieve this
Or should I increase the TTL in Kubernetes role? Sorry I’m not sure which part to update.