container app deployment does not preserve KeyVault secrets
weikanglim opened this issue · comments
Wei Lim commented
Container app deployment does not preserve KeyVault secrets.
To reproduce:
- Set a container app secret referencing a KeyVault
- Run
azd deploy
- Check container app secret.
Expected:
Secret should remain unchanged.
Actual:
The secret is no longer referencing a KeyVault. It lost its properties keyVaultUrl
and identity
.
Before:
{
"value": [
{
"identity": "<identity>",
"keyVaultUrl": "<keyvault endpoint>",
"name": "secret-keyault",
"value": "somevalue"
}
]
}
After:
{
"value": [
{
"name": "secret-keyault",
"value": "somevalue"
}
]
}
Will have a quick fix for this soon.