This module creates a key resource in an existing KeyVault with apiVersion 2019-09-01.
{"type": "microsoft.keyvault/vaults", "apiversion": "2021-06-01-preview", "name": "[parameters('keyvaultname')]", "location": "[parameters('location')]", "properties": {"sku": {"name": "standard", "family": "a"}, "tenantid": "[reference(resourceid('microsoft.managedidentity/userassignedidentities", variables('identityname'))).tenantid]", "enablerbacauthorization": true, "enablesoftdelete": true}, "dependson": ["[resourceid('microsoft.managedidentity/userassignedidentities", variables('identityname'))]"]} 