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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events