Skip to main content

Samples

Example Bicep files that use the Azure Key Vault extension. Each is taken directly from the extension's repository.

SampleDescription
Secrets, keys and certificatesCreates a secret, a key, certificate contacts and a self-signed certificate.
Application secretsStores a set of application configuration values as secrets.
Certificate lifecycleSelf-signed and CA-issued certificates, a certificate issuer, and importing an existing certificate.
Encryption and signing keysCreates keys intended for encryption and for signing.
Managed HSMKeys in a Managed HSM with a rotation policy and role assignments.
Replicating across vaultsCopies a secret from a primary vault into replica vaults.