Describe the solution you'd like
It would be beneficial to allow supporting different authentication methods in the service connection section for Azure credentials. Currently this only support a service principal with a key, however there is also certificate authentication and managed identity which are not currently supported in this task.
As well as identifying the authentication type, it would also have to set the corresponding environment variables before running pulumi commands to satisfy the secrets provider/azure provider that pulumi uses.
Describe the solution you'd like It would be beneficial to allow supporting different authentication methods in the service connection section for Azure credentials. Currently this only support a service principal with a key, however there is also certificate authentication and managed identity which are not currently supported in this task.
As well as identifying the authentication type, it would also have to set the corresponding environment variables before running pulumi commands to satisfy the secrets provider/azure provider that pulumi uses.
Additional context Example in AzureCli Task to identify authentication type