-
Notifications
You must be signed in to change notification settings - Fork 170
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
Support IAM Identity Center (SSO) authentication #433
Comments
Would be very interested to know if there is any status on this enhancement, it is very important to a use case we are currently working on. Thanks! |
+1! |
Is there any known workaround for this issue? I am trying to locally test running a docker container that uses mountpoint to mount an S3 bucket. I tried:
It would be nice if there is some temporary approach of providing credentials for a quick local test. |
Hi @plurch, are you following the suggestions here: https://github.com/awslabs/mountpoint-s3/blob/main/docker/README.md#running-the-container? If so, and you still see the errors, could you please raise a separate issue with more information? E.g. logs, Mountpoint command, Dockerfile, docker command. |
Thanks for the link, @passaro - that was helpful. My issue with the approach of using ENV vars was that the This was causing the following error:
For anyone else who might want to workaround IAM Identity Center (SSO) not being currently supported with mountpoint, I was able to get it working in docker by:
|
You can get the credentials as environment variables directly from the command line using |
I looked at this a bit more carefully. It needs two more pieces of work on the CRT side:
We'll also need to figure out how to write tests for it. |
I wrote a bash utility to do just this using a specified profile in ~/.aws/config. Naturally, this requires the user to be logged in their SSO session, and to have a profile defined for the specific account with the S3 that they want to mount. The syntax, then, is :
This is here : https://github.com/misteralvis/mount-s3-sso |
Once supporting SSO (AWS Identity Center) it would be great to also achieve trusted identity propagation (TIP). Maybe it can be achieved by leveraging https://github.com/aws/boto3-s3-access-grants-plugin or ideas from here: https://aws.amazon.com/blogs/security/access-aws-services-programmatically-using-trusted-identity-propagation/ |
Hi Guys, +1 I desperately need this feature :) |
Mountpoint doesn't currently support authenticating with IAM Identity Center (SSO or Legacy SSO) credentials. This was only recently added to the CRT (awslabs/aws-c-auth#189) but isn't in the default credentials provider yet.
The text was updated successfully, but these errors were encountered: