Forums

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

Single app password for multiple repositories best practices

claudio andres jara yañez
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!
June 16, 2022

Good day, there!
I'm simply curious as to what the best practices are for using app passwords.
Is it necessary to create app passwords for each repository we're working on?
Or, instead, you could use the same app password for all repositories?
Thank you very much!

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.
June 20, 2022

Hi @claudio andres jara yañez and welcome to the community!

When you create an app password, you cannot set its scope to a specific repository only.

So, if you create an app password with permissions Repositories:Read and Repositories:Write, that app password can be used to access all repos that your account has access to.

Considering that, it may be easier to have a single app password for all repositories, than multiple ones.

Multiple app passwords would be useful if you need them for different scopes.

E.g. if you need an app password to trigger Pipelines from a script, you can create an app password with permissions for Pipelines only (instead of using an app password that has permissions for both Repositories and Pipelines).

Kind regards,
Theodora

claudio andres jara yañez
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!
June 20, 2022

Thank you for your answer. 
Best Regards. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events