This Terraform module deploys a Key Vault on Azure
- Name Convention specified as
kv<string><randomstring>. <randomstring>
is calculated withrandom_string
resource.
data "azurerm_client_config" "current" {}
module "keyvault" {
source = "github.com/visma-raet/terraform-azurerm-keyvault"
name = var.tf_name
resource_group_name = var.terraform_rsg
location = var.location
create_resource_group = true
logging_enabled = true
access_policies = [
{
object_id = data.azurerm_client_config.current.object_id
secret_permissions = ["get", "list", "set", "delete", "purge", "restore"]
storage_permissions = []
key_permissions = []
certificate_permissions = []
}
]
}
Originally created by Visma-raet