##
##  vault.hcl -- Vault Server Configuration
##

disable_mlock     = true

cluster_name      = "example"

max_lease_ttl     = "768h"
default_lease_ttl = "768h"

ui                = true

listener "tcp" {
    address       = "127.0.0.1:8200"
    tls_disable   = 0
    tls_cert_file = "@l_prefix@/etc/vault/vault-tls-sv.crt"
    tls_key_file  = "@l_prefix@/etc/vault/vault-tls-sv.key"
}

api_addr          = "https://127.0.0.1:8200"
cluster_addr      = "https://127.0.0.1:8201"

storage "file" {
    path          = "@l_prefix@/var/vault/db"
}

# storage "consul" {
#     address       = "127.0.0.1:8500"
#     path          = "vault/"
#     scheme        = "http"
# }

