
以下のコマンドを実行すると、次の結果が得られます。
git config --global --edit
セットアップガイドの行を含む編集ファイルを表示します
aws configure
キーの末尾が期待どおりに表示されます。
しかし、次の場合にはエラーが発生します。
C:\Path\to\repo>git push https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo --all
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo/': The requested URL returned error: 403
C:\Path\to\repo>git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo myRepo
Cloning into 'myRepo'...
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myRepo/': The requested URL returned error: 403
編集: ユーザーを作成し、そのユーザーを、フルアクセス(?) AWSCodeCommit ポリシー (AWSCodeCommitPowerUse と AWSCodeCommitFullAccess) の両方を持つグループに割り当てたことを追加する必要があります。このユーザーにアクセスキーを作成し、認証情報ヘルパーにも入力しました。
何が足りないのでしょうか?