Skip to content

Commit

Permalink
feat(security): Remove Vault dependency on Consul by using file backe…
Browse files Browse the repository at this point in the history
…nd (#2886)

* feat(security): Remove Vault dependency on Consul by using file backend instead of consul

 Change the Vault backend storage configuration from Consul to Filesystem so that we can remove the Vault dependency on Consul.

 The docker-compose file will also need to change to remove the -consul dependency from repo developer-script.

 The current edgex-consul healthy check on Vault also need to be remove as that check becomes superfluous.

 Closes: #2882
  • Loading branch information
jim-wang-intel authored Dec 10, 2020
1 parent 382321c commit f9701ca
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cmd/security-secrets-setup/start_vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ listener "tcp" {
tls_disable = "1"
cluster_address = "edgex-vault:8201"
}
backend "consul" {
path = "vault/"
address = "edgex-core-consul:8500"
scheme = "http"
redirect_addr = "http://edgex-vault:8200"
cluster_addr = "http://edgex-vault:8201"
}
backend "file" {
path = "/vault/file"
}
default_lease_ttl = "168h"
max_lease_ttl = "720h"
'
Expand Down

0 comments on commit f9701ca

Please sign in to comment.