-
Notifications
You must be signed in to change notification settings - Fork 67
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
USERNAME_NOT_FOUND for created AWS IAM role user #1817
Comments
Hi @synapdk Could you try the command |
Thanks @matt-condon. It did match yesterday. I'm not sure if it's related or a distraction, but I'm now getting this error for all commands: https://www.mongodb.com/docs/atlas/cli/stable/troubleshooting/#401--request--unauthorized---you-are-not-authorized-for-this-resource. I verified the location of the config file as instructed there. I tried logging out and got a 500:
And it seems to still have me logged in:
Sorry if this is veering into support territory, but it does seem like there might be a bug somewhere here and I'm not sure what to try next. |
I deleted my
My actual role name has a couple of dashes in it and is 50 characters long, but doesn't seem to cause other issues. |
Thanks for raising this @synapdk I'll create a ticket and we can prepare a fix for the next release |
After creating an AWS IAM role user using the CLI, describing the user returns this error.
To Reproduce
Command:
Output:
Command:
atlas dbuser describe arn:aws:iam::123:role/roleName --authDB \$external
Output:
Expected behavior
The created user is found and described.
version info
The text was updated successfully, but these errors were encountered: