Samples
Example Bicep files that use the Azure Key Vault extension. Each is taken directly from the extension's repository.
| Sample | Description |
|---|---|
| Secrets, keys and certificates | Creates a secret, a key, certificate contacts and a self-signed certificate. |
| Application secrets | Stores a set of application configuration values as secrets. |
| Certificate lifecycle | Self-signed and CA-issued certificates, a certificate issuer, and importing an existing certificate. |
| Encryption and signing keys | Creates keys intended for encryption and for signing. |
| Managed HSM | Keys in a Managed HSM with a rotation policy and role assignments. |
| Replicating across vaults | Copies a secret from a primary vault into replica vaults. |