-
Notifications
You must be signed in to change notification settings - Fork 825
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
v7.0.0 doesn't support credentials_process
from shared profile when no session is active
#1176
Comments
Switching the command to the new |
I'm facing the same problem today. I ran A simple
Removing the |
@dgholz your config doesn't show any What does running
Where in USAGE do you see this? |
typo when redacting, should have been
|
@dgholz I believe what you want is something like this for v7:
This works for me (and my team) on different platforms and allows the MFA credentials to be cached. If I understand correctly, I do end up with a duplicate session at the moment when
but that should be fixed by whatever is decided in #1181. With v6 I would just get the |
Thanks, that is exactly the approach we're taking. |
A pre-release fix has been released v7.0.2-beta2 release. Can you please test this and confirm that it fixes this issue |
I had this same issue and v7.0.2-beta2 release fixed it. |
Fixed in #1183 |
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)I've tried the new release and can't use profiles that assume roles.
My config:
I ran
aws-vault clear
to drop any active sessions. After than,aws-vault
seems to hang when trying to use it to get the credentials:I can get it to work by logging in with a previous version of
aws-vault
first & not clearing the session.I can also get it to work by removing the
credentials_process
line from themy-shared-base-profile
, but then I can't useAWS_PROFILE
oraws --profile
:I see this use case documented in USAGE.md, and I can't see how what I'm doing differs. Is this still working?
The text was updated successfully, but these errors were encountered: