Has anyone tried to create secrets in Azure Key Va...
# general
m
Has anyone tried to create secrets in Azure Key Vault using a for loop? Basically, I am trying to iterate through a dictionary with all the secrets I want available in the vault. Pulumi returns errors regarding accessing the vault concurrently, but the secrets seem to get created. Anyone tried this?
g
I haven't tried it specifically, but can you share the error trace you're getting?
m
Just found the root cause of the problem. It happens when a vault that contains secrets is deleted by Pulumi destroy. Next time we run Pulumi up, and populate the vault again the issue shows up. The solution around it is to purge the vault manually before running Pulumi again, or create the vault not allowing for soft deletes.
👍 1