Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH Key in YML pipeline, who is user?

jhownfs April 10, 2023

Hi guys, how are you doing?

I have a pipeline in bitbucket where I clone another repository to use the scripts, I created the ssh of one repo and added in the other, but I have a doubt, which user and used to clone the repo and run the scripts? If a user does not have access to the repo with the scripts will give error in the pipeline?

 

Thanks for help.

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2023

Hi @jhownfs!

Did you add the public SSH key to the Access keys of the second repo? If so, Access keys are not associated with any user. An Access key provides read-only access to the repository that it has been added to, on the machine where the private SSH key exists (in your case, your Pipelines build). Since they are not associated with a certain user, you don't need to worry about user access when you use an Access key.

You can find more info on Access keys here:

If you have any other questions, please feel free to reach out!

Kind regards,
Theodora

jhownfs April 13, 2023

Thanks for your help!

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events