Set up connections from development tools using Git credentials - AWS CodeCommit

Set up connections from development tools using Git credentials

After you have configured Git credentials for AWS CodeCommit in the IAM console, you can use those credentials with any development tool that supports Git credentials. For example, you can configure access to your CodeCommit repository in AWS Cloud9, Visual Studio, Eclipse, Xcode, IntelliJ, or any integrated development environment (IDE) that integrates Git credentials. After you configure access, you can edit your code, commit your changes, and push directly from the IDE or other development tool.


If you access CodeCommit repositories using federated access, temporary credentials, or a web idenity provider, you cannot use Git credentials. We recommend that you set up your local computer using the git-remote-codecommit command. However, not all IDEs are fully compatible with Git remote helpers such as git-remote-codecommit. If you encounter problems, see Troubleshooting git-remote-codecommit and AWS CodeCommit.

When prompted by your IDE or development tool for the user name and password used to connect to the CodeCommit repository, provide the Git credentials for User name and Password you created in IAM. For example, if you are prompted for a user name and password in Eclipse, you would provide your Git credentials as follows:

Providing Git credentials for a CodeCommit repository in Eclipse

For more information about AWS Regions and endpoints for CodeCommit, see Regions and Git connection endpoints.

You might also see a prompt from your operating system to store your user name and password. For example, in Windows, you would provide your Git credentials as follows:

A security prompt in Windows

For information about configuring Git credentials for a particular software program or development tool, consult the product documentation.

The following is not a comprehensive list of IDEs. The links are provided solely to help you learn more about these tools. AWS is not responsible for the content of any of these topics.