Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,571
Community Members
 
Community Events
165
Community Groups

Single app password for multiple repositories best practices

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

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

Thank you for your answer. 
Best Regards. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,216 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you