Skip to content
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

Caching Assumed User Credentials #14

Closed
rymndhng opened this issue Nov 16, 2017 · 3 comments
Closed

Caching Assumed User Credentials #14

rymndhng opened this issue Nov 16, 2017 · 3 comments

Comments

@rymndhng
Copy link
Contributor

Does iidy cache the credentials assumed between multiple runs (the same way the AWS CLI does?)

@tavisrudd
Copy link
Collaborator

I does for all the api calls that are run internally when executing an iidy command. I'm not sure about between invocations. That would be whatever the js aws-sdk does by default and I can't find any docs on that. Why do you ask?

@tavisrudd
Copy link
Collaborator

As we've discussed, I've got a prototype version working that reuses the aws cli token cache. I'm either going to push that behind a feature flag env-var or create a separate iidy managed cache for the sts tokens.

@tavisrudd
Copy link
Collaborator

set the env var iidy_use_sts_cache=1 prior to running iidy and it will use the aws cli's cache if it's present and not expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants