rbIAM icon indicating copy to clipboard operation
rbIAM copied to clipboard

rbIAM and assumedRoles

Open casey-robertson opened this issue 5 years ago • 9 comments

We are leveraging assumed Roles and don't authenticate using IAM users. I get this error - not sure which user I should be specifying?

Gathering info from IAM and Kubernetes. This may take a bit, please stand by ...
Can't get user: ValidationError: Must specify userName when calling with non-User credentials
        status code: 400, 

casey-robertson avatar Aug 13 '19 21:08 casey-robertson

Interesting! Okay, I think I have a hunch. Once back from PTO I'll fix it and cut a new release, ETA: mid next week.

mhausenblas avatar Aug 14 '19 05:08 mhausenblas

Same issue here, using AWS federation with OneLogin, so same use case of assumed roles. Having read https://aws.amazon.com/blogs/opensource/introducing-fine-grained-iam-roles-service-accounts/, longing to get started with this :)

siwyd avatar Sep 06 '19 16:09 siwyd

Gathering info from IAM and Kubernetes. This may take a bit, please stand by ... Can't get user: ValidationError: Must specify userName when calling with non-User credentials status code: 400, request id: 4d027ab7-fe1d-4162-9dff-9255b319e025⏎

Same issue we use okta assigned assume roles facing this issue while running rbiam

yrsurya avatar Oct 16 '19 19:10 yrsurya

Same issue, tried setting AWS_PROFILE but that didn't work. A --profile tag would be appreciated.

T00mm avatar Mar 09 '20 15:03 T00mm

Thanks for the reminder, yep such a flag makes sense. Hope to get to it soon!

mhausenblas avatar Mar 09 '20 16:03 mhausenblas

Since I am using assumed roles too sometimes soon would be much appreciated 😉

karstenmueller avatar Jan 13 '21 10:01 karstenmueller

If someone wants to PR it …

mhausenblas avatar Jan 13 '21 11:01 mhausenblas

@mhausenblas Is there a workaround?

joebowbeer avatar Jun 15 '21 04:06 joebowbeer

@joebowbeer not that I know of, I'm afraid.

mhausenblas avatar Jun 15 '21 04:06 mhausenblas