株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

プロファイルを指定して資格情報を埋め込む

aws configure --profile sample

プロファイルを指定してawscliを実行

aws ec2 describe-instances --profile sample

設定情報のありか

cat ~/.aws/credentials
cat ~/.aws/config

感想

環境ごとに上書きしなくて良いので便利

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)