Skip to content

vault vagrant setup to work with Apple Silicon and VMWare Fusion

Notifications You must be signed in to change notification settings

ram-parameswaran/vault_vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-req for Vault on Vagrant on Apple Silicion with VMWare fusion

https://gist.github.com/sbailliez/2305d831ebcf56094fd432a8717bed93

vault_vagrant

full raft/consul Vault

pre-reqs

  • 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 as consul.license and place them in same folder as this README file.

notes about the variables used for spining up Vault on Vagrant

  1. VAULT_NUM_INSTANCES - Number of Vault instances needed to be spun up - Defaults to 1
  2. 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
  3. 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
  4. 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

to spin up a vault node with Consul as the storage backend

  • STORAGE=consul vagrant up

to spin up a vault node with Raft as the storage backend

  • vagrant up

To create TLS certs for Vault with TLS enabled - follow the below notes

About

vault vagrant setup to work with Apple Silicon and VMWare Fusion

Resources

Stars

Watchers

Forks

Languages

  • Shell 57.3%
  • HCL 42.7%