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)

NameTypeDescriptionDefaultRequired
name_prefixstringPrefix for resource namingyes
environmentstringDeployment environmentyes
resource_group_namestringResource group nameyes
locationstringAzure regionyes
sku_namestringSKU (standard or premium)standardno
purge_protection_enabledboolEnable purge protectiontrueno
enable_rbac_authorizationboolUse RBAC instead of access policiesfalseno

Outputs (3)

NameDescription
vault_idID of the Key Vault
vault_nameName of the Key Vault
vault_uriURI of the Key Vault

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules