How to use az login with managed identity and federated token in bitbucket pipeline

Irfan Muhammed Nazer
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!
February 20, 2024

The use case is, I don't want to use service principal in the pipeline I've created a federated credential in managed identity and given bitbucket OIDC details for exchange, but I am not sure about what the subject identifier is, I just want to do

az login --identity -u {managed identity id} --federated-token $BITBUCKET_STEP_OIDC_TOKEN

is this possible

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2024

Hi @Irfan Muhammed Nazer and welcome to the community!

I'm afraid that Bitbucket's OIDC tokens cannot be used for logging in to Azure.

We have a feature request about this in our issue tracker:

I would suggest adding your vote to that feature request (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of features is done as per our policy here and any updates will be posted in the feature request.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events