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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events