2023-06-11 15:13:33 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
2017-12-03 00:43:53 +00:00
|
|
|
|
2023-06-11 15:13:33 +00:00
|
|
|
# Full configuration options can be found at https://www.vaultproject.io/docs/configuration
|
|
|
|
|
|
|
|
ui = true
|
|
|
|
|
|
|
|
#mlock = true
|
|
|
|
#disable_mlock = true
|
|
|
|
|
|
|
|
storage "file" {
|
|
|
|
path = "/var/lib/vault"
|
2017-12-03 00:43:53 +00:00
|
|
|
}
|
|
|
|
|
2023-06-11 15:13:33 +00:00
|
|
|
#storage "consul" {
|
|
|
|
# address = "127.0.0.1:8500"
|
|
|
|
# path = "vault"
|
|
|
|
#}
|
|
|
|
|
|
|
|
# HTTP listener
|
2017-12-03 00:43:53 +00:00
|
|
|
listener "tcp" {
|
2023-06-11 15:13:33 +00:00
|
|
|
address = "127.0.0.1:8200"
|
|
|
|
tls_disable = 1
|
2017-12-03 00:43:53 +00:00
|
|
|
}
|
2023-06-11 15:13:33 +00:00
|
|
|
|
|
|
|
# HTTPS listener
|
|
|
|
#listener "tcp" {
|
|
|
|
# address = "0.0.0.0:8200"
|
|
|
|
# tls_cert_file = "/var/lib/vault/tls/tls.crt"
|
|
|
|
# tls_key_file = "/var/lib/vault/tls/tls.key"
|
|
|
|
#}
|
|
|
|
|
|
|
|
# Enterprise license_path
|
|
|
|
# This will be required for enterprise as of v1.8
|
|
|
|
#license_path = "/etc/vault.hclic"
|
|
|
|
|
|
|
|
# Example AWS KMS auto unseal
|
|
|
|
#seal "awskms" {
|
|
|
|
# region = "us-east-1"
|
|
|
|
# kms_key_id = "REPLACE-ME"
|
|
|
|
#}
|
|
|
|
|
|
|
|
# Example HSM auto unseal
|
|
|
|
#seal "pkcs11" {
|
|
|
|
# lib = "/usr/vault/lib/libCryptoki2_64.so"
|
|
|
|
# slot = "0"
|
|
|
|
# pin = "AAAA-BBBB-CCCC-DDDD"
|
|
|
|
# key_label = "vault-hsm-key"
|
|
|
|
# hmac_key_label = "vault-hsm-hmac-key"
|
|
|
|
#}
|