Add key-vault-certificate-create template#14707
Conversation
New RBAC-enabled template for creating a key vault and self-signed certificate: - enableRbacAuthorization: true, enableSoftDelete, API version 2023-07-01 - Self-signed certificate with configurable subject and validity - Full template directory: bicep, JSON, params, metadata, README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
…cep warning The certificates resource type does not have bicep type definitions at any API version. Suppress BCP081 with #disable-next-line. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
ARM doesn't have a Microsoft.KeyVault/vaults/certificates resource type, so the previous template failed at deployment time with BadRequest after the vault was created. Switch to the public Bicep registry module br/public:deployment-scripts/create-kv-certificate:3.4.2, which provisions a user-assigned managed identity, grants it Key Vault Certificate Officer on the vault, and runs az keyvault certificate create via deploymentScript. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Pushed a fix in 82c5c94. The MAC pipeline failure was a deployment failure: Replaced the inline certificate resource with the public Bicep registry module Re-running CI now. |
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
|
MAC fix landed in b2a99de. The deployment-script module wraps each output in The remaining "Validate" Action failure is the GH Actions / MAC schema conflict that's already biting other recent PRs (#14717, #14719 merged with the same red Validate check) — Validate requires |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
alex-frankel
left a comment
There was a problem hiding this comment.
Old-rules compliant; AzQuickStarts-MAC passed. Net-new key-vault-certificate-create sample (Bicep + README + metadata, +133/-0).
New RBAC-enabled template for creating a key vault and self-signed certificate.
Template details
enableRbacAuthorization: true2023-07-01This template is referenced by the Key Vault certificates ARM quickstart.
Part of a series to modernize Key Vault quickstart templates to RBAC.