You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
I've followed this tutorial to setup workload identity on GKE to communicate with Azure, and it is working well, I see the following variables automatically propagated inside my pods on GKE cluster:
But Pulumi is asking for different variables like ARM_USE_OIDC, ARM_CLIENT_ID , ARM_OIDC_TOKEN , etc. It would be great if Pulumi supported such setup out of the box without additional configuration.
According to docs, you only need to use DefaultAzureCredentialmethod and it will try all available options one by one, including workload identity.
I hope this is helpful.
The text was updated successfully, but these errors were encountered:
@iwahbe we've just launched one python service with workload identity from GKE to Azure, and apart from the webhook setup, this is the only thing we needed in our python code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.monitor import MonitorManagementClient
credentials = DefaultAzureCredential()
monitor_client = MonitorManagementClient(
credentials, AZURE_SUBSCRIPTION_ID
)
Hello!
Issue details
I've followed this tutorial to setup workload identity on GKE to communicate with Azure, and it is working well, I see the following variables automatically propagated inside my pods on GKE cluster:
But Pulumi is asking for different variables like
ARM_USE_OIDC
,ARM_CLIENT_ID
,ARM_OIDC_TOKEN
, etc. It would be great if Pulumi supported such setup out of the box without additional configuration.According to docs, you only need to use
DefaultAzureCredential
method and it will try all available options one by one, including workload identity.I hope this is helpful.
The text was updated successfully, but these errors were encountered: