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

Session duration #49

Open
chmreid opened this issue Jan 24, 2020 · 2 comments
Open

Session duration #49

chmreid opened this issue Jan 24, 2020 · 2 comments

Comments

@chmreid
Copy link

chmreid commented Jan 24, 2020

Hi there,

I am using assume-role to persist an AWS role and keep from having to re-enter 2FA token for every command. It is working great! Thanks for this very useful tool!

How long does an assume-role session last, by default? Can that value be re-configured? Would be great to see a bit of info about that in the Readme.

@Constantin07
Copy link

I guess it doesn't do any session caching ...

@lepirlouit
Copy link

default is one hour and can be adjusted with the duration argument.
eg :

-duration=8h

in aws iam you need to configure that the role can be assumed during 8 hours

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

3 participants