All Modules
AzureSecurity
Key Vault
Key Vault for secrets, keys, and certificates with access policies or RBAC
Usage
module "key_vault" {
source = "github.com/fencepencil/fencepencil-azure-modules//key-vault"
name_prefix = "<name_prefix>"
environment = "<environment>"
resource_group_name = "<resource_group_name>"
location = "<location>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name_prefix | string | Prefix for resource naming | — | yes |
environment | string | Deployment environment | — | yes |
resource_group_name | string | Resource group name | — | yes |
location | string | Azure region | — | yes |
sku_name | string | SKU (standard or premium) | standard | no |
purge_protection_enabled | bool | Enable purge protection | true | no |
enable_rbac_authorization | bool | Use RBAC instead of access policies | false | no |
Outputs (3)
| Name | Description |
|---|---|
vault_id | ID of the Key Vault |
vault_name | Name of the Key Vault |
vault_uri | URI of the Key Vault |