「Aws/cil」の版間の差分

提供: 初心者エンジニアの簡易メモ
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
20行目: 20行目:
上のエラーが出た場合は以下を実行
上のエラーが出た場合は以下を実行
  aws configure
  aws configure
==s3のオブジェクト一覧表示==
$ aws s3 ls s3://bucket1/

2015年7月4日 (土) 11:57時点における版

aws_cliとは

awsをコマンドで処理できるツールです。

まずはユーザキー作成

aws/IAM [ショートカット]

キー認証

IAMで作成したアクセスキーなどを入力

$ aws configure
AWS Access Key ID [None]: xxxxxxxx
AWS Secret Access Key [None]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Default region name [None]: ap-northeast-1
Default output format [None]: json

help表示

$ aws help

以下エラーが出た時

Unable to locate credentials. You can configure credentials by running "aws configure".

上のエラーが出た場合は以下を実行

aws configure

s3のオブジェクト一覧表示

$ aws s3 ls s3://bucket1/