毎度忘れるのでメモ

環境変数への設定

Shell
export AWS_ACCESS_KEY_ID=AKIXXXXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=wJaXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_SESSION_TOKEN=AQoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_DEFAULT_REGION=ap-northeast-1
Powershell
$Env:AWS_ACCESS_KEY_ID="AKIXXXXXXXXXXXXXXXXX"
$Env:AWS_SECRET_ACCESS_KEY="wJaXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$Env:AWS_SESSION_TOKEN="AQoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$Env:AWS_DEFAULT_REGION="ap-northeast-1"
Bat
set AWS_ACCESS_KEY_ID=AKIXXXXXXXXXXXXXXXXX
set AWS_SECRET_ACCESS_KEY=wJaXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
set AWS_SESSION_TOKEN=AQoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
set AWS_DEFAULT_REGION=ap-northeast-1