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: 

Create new app password using existing app password

Mattias Åsell
August 14, 2022

I'm trying figure out how to setup auto rotation for my app password using the bitbucket api.

The idea is: I create one app password with X amount of permissions including account permissions. After 30 days I'd like to create a new app password with the same permission set and delete the old one.

 

Does anyone know if there is an API endpoint for creating or deleting app passwords?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Neil Mansilla
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2022

Hi @Mattias Åsell and welcome to the Atlassian Community. Unfortunately, there is not a set of APIs/resources for managing app passwords in Bitbucket Cloud. App passwords can only be created/destroyed in the Access Management > App Passwords section of your account management.

https://developer.atlassian.com/cloud/bitbucket/rest/intro#app-passwords

Mattias Åsell
August 15, 2022

Any particular reason? Where can I create a request for this to be added? Feels like a basic security feature.

 

Realistically users aren't going to regenerate the app password, hence I'd like to build a feature so this can be done automatically.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events