-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure aws-vault to cache role tokens #1222
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The extra round trips can add up. One example is where IAM roles are used to provide EKS access tokens, and then some scripting is done around |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would like to have aws-vault cache role tokens.
By default, a new session is created for every invocation which means a round trip to AWS and back to retrieve the new token. For our people in more remote regions this means a round trip on every invocation which we'd like to avoid.
We ask that instead of retrieving a new role token on every call, we can instruct aws-vault to remember it for a period of time and return that instead of a new one.
If this is not already possible, would you be open to a PR implementing such a thing?
e.g. instead of:
we get:
using arch aws-vault 7.2.0-1
.aws/config
(redacted if necessary)The text was updated successfully, but these errors were encountered: