Skip to content

Instantly share code, notes, and snippets.

@hitxiang
Created October 29, 2022 10:54
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 hitxiang/d28d7a894d9a3197ff68f6af03cf28d7 to your computer and use it in GitHub Desktop.
Save hitxiang/d28d7a894d9a3197ff68f6af03cf28d7 to your computer and use it in GitHub Desktop.
AWS_PROFILE
[profile xx-dev]
region = ap-northeast-1
aws_mfa_serial = arn:aws:iam::{master-aws-id}:mfa/zack_xxx
role_arn = arn:aws:iam::{dev-aws-id}:role/environment-admin
source_profile = default
export AWS_PROFILE=xx-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment