Last active
August 7, 2020 22:01
-
-
Save chris/e06f5f5b86fc7d3a33b4da319ea199a6 to your computer and use it in GitHub Desktop.
Example ~/.aws/credentials file using role profiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mycompany_myiamuser_orgaccount] | |
aws_access_key_id=ABCDEFGHIJKLMNOPQRST | |
aws_secret_access_key=abcdefghijklmnopqrstuvwxyz123566789 | |
region=us-west-2 | |
[mycompany_somerole_devaccount] | |
role_arn=arn:aws:iam::11111111111:role/OrganizationAccountAccessRole | |
source_profile=mycompany_myiamuser_orgaccount | |
[mycompany_somerole_prodaccount] | |
role_arn=arn:aws:iam::22222222222:role/OrganizationAccountAccessRole | |
source_profile=mycompany_myiamuser_orgaccount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment