SOC Use Cases - Azure Key Vault v2
Rotate a leaked secret, list the certificates of a vault and check that a vault is present, using the Azure Key Vault v2 connector.
soc-use-cases-azure-key-vault-v2-1.0.0.json
Sanitized by the pipeline and shipped inactive. Follow the before turning it on.
Needs a connector that isn't on the Content Hub
azure-key-vault-v2 - you'll need to obtain this custom connector (or build an equivalent) before it will run.
Three use cases for the Azure Key Vault v2 connector (azure-key-vault-v2, 3.0.0).
Needs the connector "Manage Azure Key Vault secrets, keys and certificates" (azure-key-vault-v2, 3.0.0), which is in this catalogue. Install it and configure it with an Entra ID app registration that has the Key Vault data-plane roles on the vault and Key Vault Contributor on the resource group.
- KV Rotate Leaked Secret: reads the current version, stores the new value as a new version, reads it back, then disables the previous version. A secret that does not exist is created. Outcomes: rotated, created, verify_failed.
- KV Certificate Inventory: lists the vault's certificates and reads the one asked for with its policy. Outcomes: present, absent.
- KV Vault Presence: lists the subscription's key vaults and reads the one asked for. Outcomes: present, absent.
Live-tested on FortiSOAR 8.0.1 against an Azure Key Vault in RBAC mode: every branch of the three playbooks ran live, except the verify_failed branch of the rotation, which cannot be produced on demand (Key Vault returns the value it stored).