Skip to content

Instantly share code, notes, and snippets.

@juanmsl
Created May 19, 2023 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanmsl/242747f2a8dad316c302b5962054a3df to your computer and use it in GitHub Desktop.
Save juanmsl/242747f2a8dad316c302b5962054a3df to your computer and use it in GitHub Desktop.
Configuration for multiple accounts on AWS ~/.aws/config and Azure login
[profile profile-1]
region=us-east-1
output=json
source_profile=root-profile
role_arn=arn:aws:iam::0123456789:role/Role
[profile profile-2]
region=us-east-1
output=json
source_profile=root-profile
role_arn=arn:aws:iam::0123456789:role/Role
[profile root-profile]
azure_tenant_id=<tenant-id>
azure_app_id_uri=https://signin.aws.amazon.com/saml
azure_default_username=<username>
azure_default_duration_hours=12
azure_default_remember_me=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment