Last active
March 25, 2022 03:16
-
-
Save hyjk2000/5a3501b07a675e3755340bd3807694d6 to your computer and use it in GitHub Desktop.
Use AWS Vault with AWS CLI 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
[default] | |
[profile jonsmith] | |
credential_process=aws-vault exec jonsmith --json --prompt=osascript | |
[profile dev] | |
source_profile=jonsmith | |
region=ap-southeast-2 | |
role_arn=arn:aws:iam::123456789:role/DevRole | |
[profile prod] | |
source_profile=jonsmith | |
region=ap-southeast-2 | |
role_arn=arn:aws:iam::123456789:role/ProdRole |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment