https://gist.github.com/sbailliez/2305d831ebcf56094fd432a8717bed93
full raft/consul Vault
- To be able to run Enterprise versions of Vault and Consul, request license from Sales.
- Save the license files for Vault as
vault.license
and/or Consul asconsul.license
and place them in same folder as this README file.
- VAULT_NUM_INSTANCES - Number of Vault instances needed to be spun up - Defaults to 1
- VAULT_VER - Specify the version of Vault that needs to be installed - Should match the folder under - https://releases.hashicorp.com/vault/ - Defaults to 1.17.2+ent if no value specified
- Storage backend - Vault stroage defaults to raft . Below config only for Consul as a storage backend.
- STORAGE=consul - This needs to be specified when Vault needs to know Consul is the storage backend.
- CONSUL_VER - Specify the version of Vault that needs to be installed - Should match the folder under - https://releases.hashicorp.com/consul/ - Defaults to 1.19.1+ent
- TF_VER - Specify the version of Terraform that needs to be installed - Should match the folder under - https://releases.hashicorp.com/terraform/ - Defaults to 1.9.2 if no value specified
- STORAGE=consul vagrant up
- vagrant up
- Create certs via terraform/tls.tf (with thanks to https://github.com/martinhristov90/Terraform_PKI) into a /certs folder