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,295,631
Community Members
 
Community Events
165
Community Groups

Bitbucket cloud: s2s auth via username and password

Hi!

I'm trying to config Post commit status to Bitbucket Cloud in teamcity (quite old one) and it requires username/password to send hooks on commit checks. I found App Passwords, but they are connected to my personal account, and if I someday will quit my job, will these tokens be rejected? Maybe there is some other tool for making tokens that connected to team account?

1 answer

0 votes
Mark C Atlassian Team Aug 25, 2021

Hi @Pimentero

Welcome to the community.

The answer is yes. If one day you'll quit your job and your App password is used for the CI tool (e.g. Teamcity), if someone removed your permission to access Bitbucket Cloud, the App password will be unusable for the CI tool.

You have 2 more options regarding this:

  • Create a bot account in Bitbucket Cloud with permissions to access your repositories, use that account to generate an App password, and use it for your CI tool (Teamcity)
  • I'm not sure if Teamcity supports access tokens, however, in Bitbucket Cloud under your Team workspace, you can use OAuth consumer keys to generate an Access token and use that for authentication

Hope it helps and let me know if you have further questions.

Regards,
Mark C

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,170 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