Skip to content

Terraform module for Azure Key Vault to Kubernetes secret injector.

License

Notifications You must be signed in to change notification settings

iits-consulting/terraform-akv2k8s

Repository files navigation

Auto Create ArgoCD

Usage example with automatic service principal creation:

module "akv2k8s" {
  source = "git::https://github.com/iits-consulting/terraform-akv2k8s.git"
  
  keyvault_id = var.keyvault_id
}

Usage example with existing service principal credentials:

module "akv2k8s" {
  source = "git::https://github.com/iits-consulting/terraform-akv2k8s.git"

  keyvault_id                              = var.keyvault_id
  keyvault_service_principal_create        = false

  keyvault_service_principal_app_id   = "8f712ad5-f6f6-4e0d-b86d-94cc1057740b"
  keyvault_service_principal_password = "tQv2N~vV5DKggyAi3KAIUPW1uWU-2FjyQ0AN3"
}

Usage example with existing service principal credentials from Azure Key Vault:

module "akv2k8s" {
  source = "git::https://github.com/iits-consulting/terraform-akv2k8s.git"

  keyvault_id                              = var.keyvault_id
  keyvault_service_principal_create        = false
  keyvault_service_principal_from_keyvault = true

  keyvault_service_principal_app_id_secret_name_name   = "ak2k8sAppId"
  keyvault_service_principal_password_secret_name_name = "ak2k8sAppSecret"
}

About

Terraform module for Azure Key Vault to Kubernetes secret injector.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages