--- title: AWS cli 多帳戶切換 --- ###### tags: `AWS` # AWS cli 多帳戶切換 #### 經常忘記,筆記起來... --- ## 增加帳戶 > aws configure --profile account1 輸入金鑰、區域、格式 ## 切換使用中帳戶 >export AWS_DEFAULT_PROFILE=account1 ## 確認當前帳戶 >aws s3 ls
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up