pulumi / pulumi-az-pipelines-task

Azure Pipelines task extension for running Pulumi apps.
https://marketplace.visualstudio.com/publishers/pulumi
Apache License 2.0
27 stars 19 forks source link

Support workload identity federation service connection (#147) #153

Closed Isenr closed 3 months ago

Isenr commented 3 months ago

Add support for Workload identity federation for Azure service connections.

This change is based on the implementation in the Azure CLI Task V2.

Added azure-pipelines-tasks-artifacts-common@2.230.0 so the getSystemAccessToken function could be used to get the system token to auth the request for the creation of the OIDC token.

Tested in my Azure DevOps organisation with a new Pulumi project created using the Azure C# template which successfully deployed in pipeline run 20240505.12.

Related to #147

Thank you for contributing! Before submitting your PR, can you please confirm that you have done the following?

thomas11 commented 3 months ago

/run-acceptance-tests

justinvp commented 3 months ago

/AzurePipelines run

azure-pipelines[bot] commented 3 months ago
Azure Pipelines successfully started running 1 pipeline(s).