Azure / Azure/azure-quickstart-templates
How to import KeyVault cert with a selected version
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
Hi,
I am working on FunctionApp deployment and using the following template to import a cert created in KeyVault. Could you help me find out how to specify the version of the cert in KeyVault? The current version of the cert might not work so I have to set the version. It works in some other templates as I could use the the URL of the cert with version directly, e.g. https://{keyvault name}.vault.azure.net/certificates/{cert secret name}/{version}. I did a try to set the keyVaultSecretName property as "{cert secret name}/{version}" but it does not work.
{
"name": "string",
"type": "Microsoft.Web/certificates",
"apiVersion": "2019-08-01",
"location": "string",
"properties": {
"keyVaultId": "string",
"keyVaultSecretName": "string",
"serverFarmId": "string"
}
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Microsoft.Web/certificates resource schema for apiVersion 2019-08-01 and the keyVaultId and keyVaultSecretName properties shown in the issue. Determine whether a Key Vault certificate version is supported, then document the correct syntax or the limitation with a working template example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100