2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

一時的にキー情報を変更して aws cli コマンドを実行する

Posted at
AWS_DEFAULT_REGION=ap-northeast-1 \
  AWS_ACCESS_KEY_ID=xxx \
  AWS_SECRET_ACCESS_KEY=xxx \
    aws s3 cp data.zip s3://my-test-bucket

~/.aws がない一時テストサーバーでよくやる。

history ファイルに情報が残るので、それを理解の上で使う。

参考:

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?