ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir
https://hex.pm/packages/ex_aws
MIT License
1.27k stars 526 forks source link

Add support for AWS SSO temporary credentials #865

Closed james-gibson-fr closed 2 years ago

james-gibson-fr commented 2 years ago

Work to resolve https://github.com/ex-aws/ex_aws/issues/843 based on the fork from @joeybaer. Huge thank you to both Joey and @patrickcsullivan for help and feedback on the PR!

Adds support in ExAws.CredentialsIni.File to pull the credentials expected throughout ex_aws from the temporary credentials provided by aws sso login stored in .aws/sso/cache/. This way users (like me) don't have to run a script prior to running elixir to generate the credentials and can instead just rely on the sso config like the aws cli does.

james-gibson-fr commented 2 years ago

Whoops, going to try to clean up the history here