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

Support for AWS SSO (IAM Identity Center) #65

Open
1 of 3 tasks
tomsing1 opened this issue Nov 16, 2022 · 0 comments
Open
1 of 3 tasks

Support for AWS SSO (IAM Identity Center) #65

tomsing1 opened this issue Nov 16, 2022 · 0 comments

Comments

@tomsing1
Copy link

Please specify whether your issue is about:

  • a possible bug
  • a question about package functionality
  • a suggested code or documentation change, improvement to the code, or feature request

Our organization has recently switched to IAM Identity Center (formerly known as AWS SSO) for for authentication. Users obtain temporary credentials for a configured profile with the aws sso login command, as shown in this example from the AWS docs.

Configuring a named profile to use IAM Identity Center creates a JSON file in the ~/.aws/sso/cache directory (see here). I believe all AWS SDKs can use this this for authentication now, as an alternative to the traditional key / secret key combination.

Because credentials are not automatically added to the ~/.aws/.credentials file, the use_credentials() function is currently not aware of them, I think. As a workaround, I currently use the aws-export-credentials tool to update the .credentials file.

It would be great to support authentication with temporary credentials in aws.signature!

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