sparse-intern-71089
05/25/2021, 5:41 PMred-match-15116
05/25/2021, 5:53 PMred-match-15116
05/25/2021, 5:54 PMconst secretsProvider = 'azurekeyvault://********.<http://vault.azure.net/keys/********';|vault.azure.net/keys/********';>
const stack = await LocalWorkspace.createStack({
stackName,
projectName,
program: createPulumiProgram(stackName),
},{
secretsProvider,
projectSettings: {
name: projectName,
runtime: 'nodejs',
description: projectName,
backend: {
url: 'azblob://***********'
},
},
stackSettings: {
[stackName]: {
secretsProvider,
config: {
"azure:location": Constants.AZURE_CONFIG.location,
"azure:environment": Constants.AZURE_CONFIG.environment,
"azure:clientId": Constants.AZURE_CONFIG.clientId,
"azure:clientSecret": { secret: Constants.AZURE_CONFIG.clientSecret },
"azure:subscriptionId": Constants.AZURE_CONFIG.subscriptionId,
"azure:tenantId": Constants.AZURE_CONFIG.tenantId,
}
},
},
envVars: {
"AZURE_STORAGE_KEY": "******",
"AZURE_STORAGE_ACCOUNT": "**********",
"AZURE_KEYVAULT_AUTH_VIA_CLI": "false",
},
});
bumpy-agent-19616
05/25/2021, 6:07 PMstderr: "error: open keeper <azurekeyvault://hi3g-kv-demo-pulumi-3se.vault.azure.net/keys/pulumi-encryption-key>: failed to Dial default KeyVault: Invoking Azure CLI failed with the following error: ERROR: Please run 'az login' to setup account.\n" +
this time. @red-match-15116 Any suggestions?bumpy-agent-19616
05/25/2021, 6:10 PM"AZURE_KEYVAULT_AUTH_VIA_CLI": "false",
Tried changing it to true as well but didn't help much.red-match-15116
05/25/2021, 6:14 PMbumpy-agent-19616
05/25/2021, 6:20 PMred-match-15116
05/25/2021, 6:23 PMAZURE_KEYVAULT_AUTH_VIA_CLI
env var and it’s still not working - and that seemed to work in that specific bug reportNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by