Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Create a Key Vault and a list of secrets

👁 Azure Public Test Date
👁 Azure Public Test Result

👁 Azure US Gov Last Test Date
👁 Azure US Gov Last Test Result

👁 Best Practice Check
👁 Cred Scan Check

👁 Bicep Version

👁 Deploy To Azure
👁 Deploy To Azure US Gov
👁 Visualize

This template creates a key vault with RBAC authorization enabled, and a list of secrets. The vault uses Azure role-based access control (Azure RBAC) instead of access policies for authorization. Instead of just using an array for the secret creation, this template wraps an array in a secureObject. Using a secureObject instead of an array type means that the values you pass, cannot be read back in the portal after the deployment.

Resource iteration is used in this template. For more information, see

If you are new to Azure Key Vault, see:

If you are new to the template development, see:

Tags: Azure Key Vault, Key Vault, Secrets, Resource Manager, Resource Manager templates, ARM templates

Tags: Microsoft.KeyVault/vaults, Microsoft.KeyVault/vaults/secrets