This section explains the procedure for synchronizing a workspace in Bitbucket to codecommit. This allows each new repository to be automatically synchronized using a global SSH key provided to the Bitbucket workspace and the pipeline corresponding to the synchronization. (This procedure assumes you have a codecommit repository already created)
- SSH key without passphrase
ssh-keygen -t rsa -f ~/.ssh/[KEY-NAME] -C [USER-NAME] -N ''
e.g.