AWS CLIを設定する - kin-kin/memo GitHub Wiki
AWS CodeCommitを設定する
コマンドラインからCodeCommitを利用する最初に1回だけ実施する。
1. 以下のコマンドを実行してコマンドのインストールを確認。
aws codecommit help
2. 以下のコマンドでGit認証情報ヘルパーを設定。
git config --global credential.helper "!aws codecommit credential-helper $@"
git config --global credential.UseHttpPath true
3. 以下のコマンドでGit認証情報ヘルパーの設定を確認。
git config --global --edit
[credential]
helper = !aws codecommit credential-helper $@
UseHttpPath = true
defaultプロファイルを設定する
1. コマンドプロンプトを起動、以下のコマンドを実行。
> aws configure
AWS Access Key ID [None]: *** (接続に使用するIAMユーザーのアクセスキーID)
AWS Secret Access Key [None]: *** (接続に使用するIAMユーザーのシークレットアクセスキー)
Default region name [None]: *** (接続するリージョン)
Default output format [None]: json
HTTPプロキシを設定する
1. ユーザー、または、システムの環境変数に以下を追加。
HTTP_PROXY=http://ホスト名:ポート番号
HTTPS_PROXY=http://ホスト名:ポート番号