Created
February 9, 2022 16:17
-
-
Save churnd/c9f15c5d222bbef5df4523611b7ea8d4 to your computer and use it in GitHub Desktop.
Revisions
-
churnd created this gist
Feb 9, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ ~/.aws/config: [profile account1] region = us-east-1 output = json [profile account2] region = us-east-1 output = json role_arn = arn:aws:iam::<account1_number>:role/<role_name> source_profile = account1 ~/.aws/credentials: [account1] aws_secret_access_key = <account1_iam_access_key> [account2] role_arn = arn:aws:iam::<account1_number>:role/<role_name> source_profile = account1