Creates or recreates an Azure Key Vault, configures network ACLs, enables RBAC and diagnostic settings, and assigns RBAC roles to an application registration or managed identity and reader groups. Retrieves deployment credentials from Passwordstate.
Credentials
EntrA/Service Principal credentials fetched from Passwordstate (Sys_Azure_KeyVaultDeploy_PR entry).
These credentials are used as client_id/secret for azure.azcollection modules.
Input
Variable
Description
app_name, app_env
Used to build keyvault_name
keyvault_name
Name derived to max 23 chars: d09-{{ app_name }}-{{ app_env }}-kv