https://github.com/devops-rob/terraform-vault-secrets-engines
A Terraform module to enable and configure HashiCorp Vault Secrets Engines
https://github.com/devops-rob/terraform-vault-secrets-engines
Last synced: 10 months ago
JSON representation
A Terraform module to enable and configure HashiCorp Vault Secrets Engines
- Host: GitHub
- URL: https://github.com/devops-rob/terraform-vault-secrets-engines
- Owner: devops-rob
- License: apache-2.0
- Created: 2020-10-07T18:51:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-07T11:26:11.000Z (about 5 years ago)
- Last Synced: 2025-02-08T02:35:28.733Z (12 months ago)
- Language: HCL
- Size: 188 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Module: Vault Secrets Engine
A Terraform module to enable and configure Vault secrets engines.
## Overview

This module supports the following Vault Secrets Engines:
- AWS
- Azure
- GCP
- Consul
- Transit
- Database
- PKI
- SSH
- RabbitMQ
## Requirements
This module requires Terraform version 0.13.0 or newer and an accessible Vault instance.
The Vault token used by Terraform will need the following Vault policy:
``` shell script
path "sys/mount*" {
capabilities = ["create","read","update","delete","list"]
}
```
## Usage
```shell script
module "secrets_engines" {
source = "github.com/devops-rob/terraform-vault-secrets-engines"
secrets_engines = [
"aws",
"consul"
]
# AWS config
aws_backend_role_name = "test"
aws_iam_groups = ["test"]
# Consul config
consul_token = "acl-token"
consul_backend_role_name = "test"
consul_policies = [
"test-policy",
"test-policy-2"
]
}
```
## License
Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
See the License for the specific language governing permissions and limitations under the License.