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

App restart required when authenticating with assumed roles #230

Open
kjones opened this issue Dec 3, 2022 · 1 comment
Open

App restart required when authenticating with assumed roles #230

kjones opened this issue Dec 3, 2022 · 1 comment

Comments

@kjones
Copy link

kjones commented Dec 3, 2022

When the temporary credentials expire the queries just get errors and the app doesn't re-prompt for a new MFA code. I have to close the app and reopen it to get prompted again.

AWS profile looks something like this:

[main_profile]
aws_access_key_id=MYACCESSKEY
aws_secret_access_key=MYSECRET

[dev]
source_profile=main_profile
role_arn=arn:aws:iam::123456789012:role/Developer
mfa_serial=arn:aws:iam::112233445566:mfa/myusername
region=us-east-1
@kjones
Copy link
Author

kjones commented Dec 30, 2022

#227 possibly related - I did discover the "Reload Profiles" workaround after creating this issue so at least I'm not having to restart the app.

Would also like to see the ability to configure assume role duration up to 12 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

1 participant