Created
June 12, 2023 13:42
-
-
Save ohaval/1719fb6fb0e206469960c34699ef6065 to your computer and use it in GitHub Desktop.
Sample AWS config file with multiple environment
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 characters
[default] | |
region = us-east-1 | |
mfa_serial = arn:aws:iam::1000:mfa/some-developer | |
[profile some-developer] | |
Credential_process = aws-vault export --format=json some-developer | |
[profile dev] | |
role_arn = arn:aws:iam::2000:role/Admin | |
source_profile = some-developer | |
[profile staging] | |
role_arn = arn:aws:iam::3000:role/ReadOnly | |
source_profile = some-developer | |
[profile prod] | |
role_arn = arn:aws:iam::4000:role/ReadOnly | |
source_profile = some-developer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment