setup-vault/playbook/templates/config.hcl.j2
2022-03-31 18:08:45 +05:30

27 lines
532 B
Django/Jinja

# Full configuration options can be found at https://www.vaultproject.io/docs/configuration
ui = true
#mlock = true
#disable_mlock = true
storage "raft" {
path = "/opt/vault/data"
node_id = "node1"
}
# HTTP listener
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = "true"
}
# HTTPS listener
#listener "tcp" {
# address = "0.0.0.0:8200"
# tls_cert_file = "/opt/vault/tls/tls.crt"
# tls_key_file = "/opt/vault/tls/tls.key"
#}
api_addr = "http://127.0.0.1:8200"
cluster_addr = "https://127.0.0.1:8201"