AWS CodeCommit how to

AWS CodeCommit security credentials

Upload the SSH Key

To use git with SSH you need to have a user in IAM (AWS root account cannot works). And then you need to add a SSH keys for AWS CodeCommit

“IAM” service > “Users” > Select a user (create it if not created yet) > “Security credentials” > “SSH keys for AWS CodeCommit” > “Upload SSH public key”

Then copy paste the content of you public key (example: id_rsa.pub) in the popup and press “Upload SSH public Key”

AWS CodeCommit Upload SSH Key
AWS CodeCommit Upload SSH Key

Copy past the “SSH key ID” of the created row for the next step.

Configure git

Clone your repository

Just go back to your repository and git the clone ssh url

AWS CodeCommit Clone
AWS CodeCommit Clone

And then

Pages: 1 2 3