consul-secrets-engine

devops-rob/consul-secrets-engine/vault

Terraform Module HCL VAULT

This module enables and configures the Consul secrets engine.

Install
module "consul-secrets-engine" {
source = "devops-rob/consul-secrets-engine/vault"
version = "0.1.0"
}
plain text: /constructs/tfmod-devops-rob-consul-secrets-engine-vault/install.txt
⭐ Source on GitHub 📦 Registry page
README

Consul example Overview This module enables and configures the Consul secrets engine. Example use case There are instances where an application may need to read or update consul components, for example, key/value data in the KV store, in an ACL enabled consul cluster. In these scenarios, developers will need to provide the application with a consul acl token. In order to reduce the attack surface of the application, developers can leverage Vault to dynamically provision Consul ACL tokens when an application requires access, and clean the token up when its TTL expires. This module can be used to enable and configure the Consul secrets engine for developers to leverage as discussed above. Consul Requirements Vault will require a Consul ACL token to authenticate with Consul. To enable the ACL

Inputs (10)
NameTypeDescriptionDefault
consul_tokenstring(Required) The Consul ACL token. required
consul_backend_role_namestring(Required) Name for the Consul role. required
consul_policieslist(string)(Optional) List of consul policies that will be attached to generated ACL tokens required
consul_default_leasenumber(Optional) Default lease for Consul secrets engine.3600
consul_local_tokenbool(Optional) Specify if Consul ACL token should be kept locally.false
consul_token_typestring(Optional) Consul token type."Client"
pathstring(Required) The path that the secrets engine will be mounted to."consul"
consul_addressstring(Optional) The address of the Consul server."localhost:8500"
consul_use_httpsbool(Optional) Use HTTPS to connect to Consul.true
consul_max_leasenumber(Optional) Maximum lease for Consul secrets engine.3600
Resources (2)
vault_consul_secret_backendvault_consul_secret_backend_role
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud VAULT
★ Stars0
Forks2
Total downloads780
Inputs10
Resources2
Examples1
LicenseApache-2.0
Namespacedevops-rob
Updated