All
I wanted to create persistent storage backend for vault to store secrets in file system that survives reboots. In addition, I might need HA in future and hence thought of Consul to serve the two purposes.
Based on https://learn.hashicorp.com/vault/operations/ops-vault-ha-consul - tried the following Vault config,
storage “consul” {
address = “127.0.0.1:8500”
path = “vault/”
}
and:
consul’s config:
“data_dir”: “/var/consul/data”,
I don’t see any directory called ‘vault’ created under ‘/var/consul/data’ when I used ‘vault write’ or ‘vault kv put’ commands…I did not expect to see the actual data itself but thought a directory might be created…
Is the expectation not correct or is there more configuration to be done?
Thanks
SR