Skip to content

l-with/terraform-module-vault_policies_secrets

Repository files navigation

Terraform Modul vault_kv_policies_secrets

Terraform module for deploying Hashicorp Vault policies and optionally Key/Value secrets

Requirements

Name Version
terraform >= 1.3
vault >= 3.8

Providers

Name Version
vault >= 3.8

Modules

No modules.

Resources

Name Type
vault_kv_secret.kv_secret resource
vault_kv_secret_v2.kv_secret_v2 resource
vault_policy.policy_read resource
vault_policy.policy_write resource
vault_policy_document.policy_document_read data source
vault_policy_document.policy_document_write data source

Inputs

Name Description Type Default Required
kv_version the KV secrets engine version to be used string "1" no
mount the vault mount for the secret string n/a yes
path the vault path inside the vault mount string n/a yes
policy_name the name for the policies string n/a yes
policy_read if the read policy should be created bool true no
policy_read_capabilities the capabilities for the read policy list(string)
[
"read",
"list"
]
no
policy_write if the write policy should be created bool false no
policy_write_capabilities the capabilities for the write policy list(string)
[
"create",
"update",
"patch",
"delete"
]
no
secret the secrets to be put in the vault path map(string) {} no

Outputs

Name Description
read_policy_name the name of the read policy
write_policy_name the name of the write policy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages