azurerm_key_vaultNivis Nix constructor for the azurerm_key_vault resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
rbac_authorization_enabled,
resource_group_name,
sku_name,
tenant_id,
access_policy ? null,
enabled_for_deployment ? null,
enabled_for_disk_encryption ? null,
enabled_for_template_deployment ? null,
id ? null,
cfg_name ? null,
public_network_access_enabled ? null,
purge_protection_enabled ? null,
soft_delete_retention_days ? null,
tags ? null,
network_acls ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationrbac_authorization_enabledresource_group_namesku_nametenant_id
Optional arguments
access_policy(defaults tonull)enabled_for_deployment(defaults tonull)enabled_for_disk_encryption(defaults tonull)enabled_for_template_deployment(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)public_network_access_enabled(defaults tonull)purge_protection_enabled(defaults tonull)soft_delete_retention_days(defaults tonull)tags(defaults tonull)network_acls(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
vault_uri
Example
azurerm_key_vault {
name = "key_vault";
location = …; # required
rbac_authorization_enabled = …; # required
resource_group_name = …; # required
sku_name = …; # required
tenant_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.