I'm trying to connect Crucible to an AWS CodeCommit repository. There's a related post that has been very helpful (https://community.atlassian.com/t5/Fisheye-Crucible-questions/Can-AWS-CodeCommit-support-integration-with-Atlassian-Crucible/qaq-p/54807?tempId=eyJvaWRjX2NvbnNlbnRfbGFuZ3VhZ2VfdmVyc2lvbiI6IjEuMCIsIm9pZGNfY29uc2VudF9ncmFudGVkX2F0IjoxNTc2ODYyMTMxMTczfQ%3D%3D#U1348164) that suggests creating an AWS IAM user with read access to CodeCommit and within Crucible connecting to the repository using the "Upload private key for ssh" option with that user's credentials. I've followed all the instructions in that post, but am running into an error when I upload the private key file ("The file you uploaded is not a valid private key"). I tried uploading a CSV and TXT file containing just the key, and also a CSV file containing the user name, key ID, key, and console login link, but nothing has worked so far. What format is the private key file supposed to be in? Thanks you for your help!
The key you want to upload can have any extension, but it is essentially a plain text file that will have some content that looks like this:
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
I generated this from linux command line with the comand ssh-keygen
Be sure to leave the passphrase blank and specify a file name (don't let it go into .ssh/rsa_id or whatever it suggests).
You can do the same with putty key generator, but don't use the "save private key" button. Instead, select conversions in the menu then export OpenSSH Key
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events