https://pulumi.com logo
Title
r

red-airline-54646

03/31/2023, 12:54 PM
We are using Azure Pipeline, Does anyone also seeing this stdout during
pulumi preview
Any clue what's the reason why is this showing?
running 2023/03/31 09:18:43 [DEBUG] POST <https://login.microsoftonline.com/***/oauth2/v2.0/token>
s

stocky-restaurant-98004

03/31/2023, 1:01 PM
That output likely comes from the wrapped TF provider. Can you confirm whether it is leaking an actual secret or not?
r

red-airline-54646

03/31/2023, 1:15 PM
the secret is our tenant id so it is expected to be hidden. the problem is it shows
DEBUG
considering we don't enable debug mode anywhere.
s

stocky-restaurant-98004

03/31/2023, 1:35 PM
That's the Azure DevOps provider?
r

red-airline-54646

03/31/2023, 2:06 PM
just the azure native sdk
azure "<http://github.com/pulumi/pulumi-azure-native-sdk|github.com/pulumi/pulumi-azure-native-sdk>"
this is the definition of the provider
azureProvider, err := azure.NewProvider(ctx, fmt.Sprintf("clusters-p.azurenative-(%s)", Subscriptions[subscription]), &azure.ProviderArgs{
		TenantId:       pulumi.StringPtr(os.Getenv("ARM_TENANT_ID")),
		ClientId:       pulumi.StringPtr(os.Getenv("ARM_CLIENT_ID")),
		ClientSecret:   pulumi.StringPtr(os.Getenv("ARM_CLIENT_SECRET")),
		SubscriptionId: pulumi.StringPtr(Subscriptions[subscription]),
	})
	if err != nil {
		return err
	}
Is this a bug in the provider?
s

stocky-restaurant-98004

03/31/2023, 5:41 PM
Oh, I see.
Let me check for an existing issue
I don't see one. Can you file a bug here? https://github.com/pulumi/pulumi-azure-native/issues
r

red-airline-54646

04/03/2023, 7:48 AM
Hi @stocky-restaurant-98004 this is the bug https://github.com/pulumi/pulumi-azure-native/issues/2355