miniature-nightfall-1388
08/27/2025, 11:58 AMARM_USE_OIDC or the Pulumi configuration azure-native:useOidc to true. Next, you’re in luck if your program runs on GitHub Actions: you’re done. GitHub exports the necessary values in form of variables that Pulumi understands.
it always returns an authentication error.
I tested in the bash (using az) before calling the PULUMI login, to fetch the resources that is needed, and that included in the error, and everything works perfectly. so I am logged in correctly, and the identity, has access to the needed resrouces.
error:
> AZURE_STORAGE_ACCOUNT=*
> error: problem logging in: read ".pulumi/meta.yaml": blob (key ".pulumi/meta.yaml") (code=Unknown): GET https://****.blob.core.windows.net/pulumi-environment-state/.pulumi/meta.yaml
anyone has the same experience? or struggled with logging in via azure?wet-alligator-94732
08/27/2025, 12:47 PMminiature-nightfall-1388
08/27/2025, 1:31 PMclever-sunset-76585
08/28/2025, 12:22 AMARM_* vs. GoCloud SDK uses AZURE_*.
az CLI creds when it goes through the default credential chain.azure/login GH action logs in to the az CLI which is why that works.)
https://github.com/google/go-cloud/blob/master/blob/azureblob/azureblob.go#L27
> from: "https://www.pulumi.com/blog/oidc-with-azure/"
>> First, tell the Pulumi provider to use OIDC by setting the environment variable ARM_USE_OIDC or the Pulumi configuration azure-native:useOidc to true. Next, you’re in luck if your program runs on GitHub Actions: you’re done. GitHub exports the necessary values in form of variables that Pulumi understands.
I don't know what you have in your GHA workflow but maybe try setting AZURE_TENANT_ID additionally (once again, note the prefix is AZURE_ .)
Also see https://aka.ms/azsdk/go/identity/credential-chains#defaultazurecredential-overviewminiature-nightfall-1388
09/01/2025, 7:42 AM