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,299,666
Community Members
 
Community Events
165
Community Groups

Deprecating Atlassian account password for Bitbucket API and Git activity

Does the Deprecating Atlassian account password for Bitbucket API and Git activity will affect the Bitbucket server users account passwords and the authentication from Bamboo server to Bitbucket server in Linked Repositories

2 answers

@seanaty  

We are using bitbucket as maven repository for storing libraries .

In the bitbucket pipelines in order to fetch these libraries we are using settings.xml were we store the credentials as shown below :

 

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">

<servers>
<server>
<id>bitbucket.downloads</id>
<username>username@xxxxxxxx.com</username>
<password><defaultAccountPassword></password>
</server>
</servers>

<profiles>
<profile>
<id>bitbucket-downloads</id>
<repositories>
<repository>
<id>bitbucket.downloads</id>
<name>bitbucket downloads</name>
<url>bitbucket://xxxxxxxxx/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>

<activeProfiles>
<activeProfile>bitbucket-downloads</activeProfile>
</activeProfiles>

</settings>

Are we going to be able still to use this approach after 1 of March or we need to change the implementation and use app password instead.

thanks in advance

0 votes
seanaty Atlassian Team Nov 03, 2021

This change is only affects Bitbucket Cloud.

@seanaty I use my Atlassian id to configure my bitbucket repositories in Jenkins and my local machine. Will this change affect my access to these repositories?

seanaty Atlassian Team Feb 15, 2022

Access to repos is not changing. But you may in fact need to make a (quite simple IMO) change if you don't want any interruption and you're free to make that change now.

Say you're using curl to access the API.

Instead of doing this:

curl -u my-username:my-password https://api.bitbucket.org/2.0/my-username/repositories

you'd do this:

curl -u my-username:my-brand-new-app-password https://api.bitbucket.org/2.0/my-username/repositories

So you'll need to swap out "my-password" with "my-brand-new-app-password"

Going forward you password will be only for creating an interaction session on bitbucket.org (the website) and all other forms of authentication (git, API) will require an app password.

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