aws cli でとあるユーザーを追加するには、
aws configureでした。1ユーザーならいいのですが、複数ユーザー操作したい場合にこれだと不便です。
--profile オプション
その場合は--profileオプションを使って「このユーザーの設定ですよ」と明示できます。
aws --profile foo configure これでfooというユーザーの情報が登録できました。あとは他のすべてのコマンドで--profile fooと追加します。
aws --profile foo s3 sync images s3://hoge/images
aws --profile foo s3 ls hoge