Skip to content

Instantly share code, notes, and snippets.

@mikegreen
Last active June 23, 2020 19:45
Show Gist options
  • Save mikegreen/c2df5eea2283f0dbc5f3a5d3650536fd to your computer and use it in GitHub Desktop.
Save mikegreen/c2df5eea2283f0dbc5f3a5d3650536fd to your computer and use it in GitHub Desktop.
Raft sample config
# vault_config.hcl
# to start: $ vault server -config=vault_raft.hcl
ui=true
disable_mlock = true
storage "raft" {
path = "/opt/vault/"
node_id = "raft_01"
}
listener "tcp" {
address = "127.0.0.1:8200"
tls_disable = true
}
cluster_addr = "http://127.0.0.1:8201"
api_addr = "http://127.0.0.1:8200"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment