Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling authentication with service principal #784

Open
hfurkanvural opened this issue Jun 1, 2023 · 5 comments
Open

Enabling authentication with service principal #784

hfurkanvural opened this issue Jun 1, 2023 · 5 comments

Comments

@hfurkanvural
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

At the moment this issue is written, the only way of authentication for this provider is using personal access token. Sadly, it was the only way of authentication on ADO, so I can understand that. However, ADO recently announced Service Principal and Managed Identity support. I believe this will help lot of teams/individual here, if we have such a way to authenticate

Announcement

New or Affected Resource(s)

provider "azuredevops"

Potential Terraform Configuration

Something like following configuration would be great to have.

provider "azuredevops" {
  org_service_url       = var.azdevops_org_service_url
  service_principal_id = var.azdevops_service_principal_id
}

References

https://devblogs.microsoft.com/devops/introducing-service-principal-and-managed-identity-support-on-azure-devops/

  • #0000
@xuzhang3
Copy link
Collaborator

xuzhang3 commented Jun 6, 2023

#747 is supporting this feature.

@DevOpsBoondoggles
Copy link

#747 is supporting this feature.

is this stuck @xuzhang3 at the moment or can you tweak @davidcorrigan714 code to help get it through. This would be a killer feature

@xuzhang3
Copy link
Collaborator

@gabrielmccoll I do not have the push permission to @davidcorrigan714's PR and he/she going to be a little while before he/she have time to do any updates. One way is merge/cherry pick the changes into my branch.

@DevOpsBoondoggles
Copy link

thank you both, much appreciated. sadly I don't know go but I'm certainly cheering you both on

@MariusStorhaug
Copy link
Contributor

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants