kv-bulk-write

kalenarndt/kv-bulk-write/vault

Terraform Module HCL VAULT

Terraform module to bulk write kv1/2 secrets to a pre-created path.

Install
module "kv-bulk-write" {
source = "kalenarndt/kv-bulk-write/vault"
version = "0.0.6"
}
plain text: /constructs/tfmod-kalenarndt-kv-bulk-write-vault/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Vault KV Bulk Write This Terraform module creates multiple secrets in any given kv path in a Vault instance from a yaml file. Usage/Examples ``hcl locals { vault_config = yamldecode(file("${path.module}/vault_config.yaml")) vault_kv_secrets = local.vault_config.kv_secrets } module "homelab_kv" { source = "github.com/kalenarndt/terraform-vault-kv-bulk-write" vault_kv_secrets = local.vault_kv_secrets } ` The examples folder contains an example with a main.tf,providers.tf, settings.tf and vault_config.yaml file. Use this if you want to get up and running or follow the directions below. Ensure that you modify the vault_config.yaml file to match the path and secrets you would like to provision as this is what the module uses to deploy and configure the nested hosts. Place the vault_co

Inputs (1)
NameTypeDescriptionDefault
vault_kv_secretsmap(any)This is a map passed from a yaml file that is looped through to build secrets at required
Resources (1)
vault_generic_secret
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.6
Cloud VAULT
Total downloads1.1k
Inputs1
Resources1
Examples1
Namespacekalenarndt
Updated