【问题标题】:AWS CodeCommit access denied while cloning克隆时 AWS CodeCommit 访问被拒绝
【发布时间】:2020-04-28 22:23:36
【问题描述】:

最近我使用从 AWS IAM 用户生成的 git 凭证设置并下载了存储库,然后

  • 我删除了我用来克隆 AWS git 生成的密钥 第一次回购。

现在

  • 我已经生成了另一个 AWS git 密钥,但它没有要求我提供 用户名和密钥,而不是我得到

错误

Cloning into 'myawsrepo'...
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/myawsrepo/': The requested URL returned error: 403
MacBook-Pro:~ apple$ 

【问题讨论】:

  • 您可以按照配置 git 以使用原始凭据时使用的相同说明进行操作吗?
  • 试过了,但没有提示我再次输入凭据

标签: git amazon-web-services aws-codecommit aws-codestar


【解决方案1】:
  1. 在 AWS IAM 控制台中访问用户
  2. 已删除 git 凭据
  3. 已删除用户凭据
  4. 已创建新的用户凭据
  5. 创建了新的 git 凭据

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-07
    • 2020-05-19
    • 1970-01-01
    • 1970-01-01
    • 2020-06-03
    • 1970-01-01
    • 1970-01-01
    • 2020-04-18
    相关资源
    最近更新 更多