Menu
AWS CodeCommit
User Guide (API Version 2015-04-13)

Troubleshooting Access Errors and AWS CodeCommit

The following information might help you troubleshoot access errors you might see when connecting with AWS CodeCommit repositories.

Access Error: Prompted for AWS User Name When Connecting to an AWS CodeCommit Repository

Problem: When you try to use Git to communicate with an AWS CodeCommit repository, a message appears prompting you for your AWS user name.

Possible fixes: Configure your AWS profile or make sure the profile you are using is the one you configured for working with AWS CodeCommit. For more information about setting up, see Setting Up . For more information about IAM, access keys, and secret keys, see Managing Access Keys for IAM Users and How Do I Get Credentials?.

Access Error: Prompted for User Name and Password When Connecting to an AWS CodeCommit Repository from Windows

Problem: When you try to use Git to communicate with an AWS CodeCommit repository, you see a pop-up dialog box asking for your user name and password.

Possible fixes: This might be the built-in credential management system for Windows. Depending on your configuration, do one of the following:

Access Error: Public Key Denied When Connecting to an AWS CodeCommit Repository

Problem: When you try to use an SSH endpoint to communicate with an AWS CodeCommit repository, an error message appears containing the phrase Error: public key denied.

Possible fixes: The most common reason for this error is that you have not completed set up for SSH connections. Configure a public and private SSH key pair, and then associate the public key with your IAM user. For more information about configuring SSH, see For SSH Connections on Linux, macOS, or Unix and For SSH Connections on Windows.