LoginSignup
5
8

More than 5 years have passed since last update.

AWS CLIで複数のProfileを使い分ける

Posted at

やり方はいくつかあるようですが、これが一番好きかな。

まずは名前をつけてProfile情報をセット。

$ aws configure --profile %PROFILE_NAME%

で、コマンド利用時に設定したプロファイルを指定。

$ aws --profile %PROFILE_NAME% s3 sync ...
5
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
8