I am coming from AWS / Linux and try this in Azure / Windows, now.
The Question:
I have a windows container in Azure and want it to get some secrets from an Azure Vault. How can I do that?
This is how I thought it would work (but didn't):
I had expected that I could just run
az keyvault secret show --name "my_secret" --vault-name "my_fault"
... at least after adding permissions to the container. Unfortunately, I cannot find out how to add permissions to the container to access the vault.
What I have tried so far:
I have created the vault and added an "application" under "Access Policies". I do not find any way how to make the container act as the "application".
I have read that items need to get an "identity assigned" 1, but this seems to be not supported with windows containers 2. I had tried it out before I found the documentation, and it did not work.
How can I access the azure key vault from an azure container?