synfinatic / aws-sso-cli

A powerful tool for using AWS Identity Center for the CLI and web console.
https://synfinatic.github.io/aws-sso-cli/
GNU General Public License v3.0
413 stars 49 forks source link

Add support for generating ~/.aws/credentials file #867

Closed synfinatic closed 1 month ago

synfinatic commented 1 month ago

Is your feature request related to a problem? Please describe.

When using Docker with aws-sso and needing to access multiple roles without using role chaining, we have to either use the json secure store (exposing the SSO credentials) or the individual IAM credentials. The less bad thing is the latter.

Describe the solution you'd like

Add a new credentials command to support writing the credentials.

Describe alternatives you've considered

ECS server, json secure store, etc.

Additional context

815