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

Role parameter ignored when trying to login #223

Open
brunomfcabral opened this issue Feb 15, 2021 · 0 comments
Open

Role parameter ignored when trying to login #223

brunomfcabral opened this issue Feb 15, 2021 · 0 comments

Comments

@brunomfcabral
Copy link

brunomfcabral commented Feb 15, 2021

Hey folks, hope you've doing great

This is my first time using aws-google-auth and I'm running into some unexpected behaviour (probably because of something I am doing wrong haha)

I'm on version 0.0.37 installed via pip3

So I'm trying to login using

aws-google-auth -u $GOOGLE_USERNAME \
-R $AWS_REGION \
-I $GOOGLE_IDP_ID \
-S $GOOGLE_SP_ID \
-r $AWS_ROLE_ARN \
-p $AWS_PROFILE

Where AWS_ROLE_ARN is
image

But for some reason it ignores this role I am passing as an argument and prompts me to choose one role that does not exist in my organization as the only option
image

And then, when I choose this (wrong) option I get an access denied error "An error occurred (AccessDenied) when calling the AssumeRoleWithSAML operation: Not authorized to perform sts:AssumeRoleWithSAML"
Which is expected...

Any ideas of why this might be happening?
Any help will be much appreciated!

Cheers

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