Mac で AWS CLI の初期設定をおこなう
あけましておめでとうございます。
新年一発目は AWS CLI の初期設定(on Mac)に関するメモを残しておきたいと思う。
---
英語版のほうが細かく書いているので合わせて読むとよい。
---
<作業の流れ>
今回は Homebrew でインストールすることにした。
$ brew install awscli
$ aws --version
$ aws configure
AWS Access Key ID [None]: {左記 ID を入力}
AWS Secret Access Key [None]: {左記 Key を入力}
Default region name [None]: ap-northeast-1
Default output format [None]: json
region name は下記ページに一覧表がある。
3. 設定内容を確認する
$ ls ~/.aws
config credentials
$ cat ~/.aws/config
$ cat ~/.aws/credentials
以上で設定おわり!