AWS를 처음 사용하고 있으며, 제가 일하는 회사에 지속적으로 서비스를 제공하고 있습니다. AWS CodeCommit에 액세스하기위한 IAM 사용자를 생성하고 구성하려면Amazon CodeCommit 오류 : git : 'credential-aws'는 git 명령이 아닙니다.
를 AWS CodeCommit 초기 구성 : http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-windows.html#setting-up-https-windows-account
1 단계 :
나는 CodeCommit 서비스를 구성하려면이 지침을 따랐 내가 만든 새로운 IAM 사용자에게 AWSCodeCommitFullAcess를 부여했습니다.AWS CLI를 설치하고 구성하려면 : 설치합니다. 힘내 를 설치 내가 창문 GIT를 설치 : 에드와 자격 증명이 AWS는 (- 동쪽 (1) 우리와
드하는 2 단계 AWS 액세스 키 ID, AWS 비밀 액세스 키에 기본 지역 이름을 설정을 구성하고 구성 Git Credential Manager 사용 옵션이 선택 취소되었는지 확인하십시오.
3 단계 : 내가 가진
git config --global --edit
을 :
[HTTP]
sslVerify = 거짓
git config --global credential.helper "!aws codecommit credential-helper [email protected]"
git config --global credential.UseHttpPath true
: 나는이 명령을 실행 자격 증명 도우미 을 설정
[자격 증명]
h elper = 사실
UseHttpPath = "AWS 목록-저장소가 자격 증명 헬퍼를 codecommit codecommit"
4 단계 : AWS CodeCommit 콘솔에 연결하고 AWS 문제 해결 솔루션을 찾고 저장소
$ git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/teste-git-to-s3<br>
Cloning into 'teste-git-to-s3'...<br>
git: 'credential-aws' is not a git command. See 'git --help'.<br>
Username for 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/teste-git-to-s3': Lucas<br>
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/teste-git-to-s3/': The requested URL returned error: 403
를 복제, 나는 발견했다 : http://docs.aws.amazon.com/codecommit/latest/userguide/troubleshooting.html#troubleshooting-ae1 그러나 could'nt는 그것을 해결한다.
이 문제를 해결하는 방법을 알고 있습니까? 도와 줘!
명령 프롬프트를 열고 저장소의 경로를 보낼 수있는 망할 놈의 자격 증명 도우미를 가능하게하는 AWS 자격 증명 프로파일과 함께 망할 놈의 자격 증명 도우미의 사용을 지정, 자식 설정을 실행하는 데 힘내를 사용 '자식 설정 --global을 credential.helper "! aws codecommit credential-helper $ @" Windows 명령 행 대신 Bash 에뮬레이터를 사용하는 경우 큰 따옴표 대신 작은 따옴표를 사용해야합니다. http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-windows.html#setting-up-https-windows-credential-helper – shrimpwagon