The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy id_rsa keys to bitbucket server through dockerfile

radha krishna varukuti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2019

Our code uses git commands like git clone, git commit etc..

to push to repository we need to add ssh keys to bitbucket server. we are generating keys through docker file. Is there a command to push the generated keys to bitbucket server.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
tomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2019

For bitbucket server you could use the following REST endpoint with curl for example

https://docs.atlassian.com/bitbucket-server/rest/6.2.0/bitbucket-ssh-rest.html#idp8

TAGS
AUG Leaders

Atlassian Community Events