27bb03bbc0
* adding copyright header * fix fmt and a test
66 lines
1.1 KiB
HCL
66 lines
1.1 KiB
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
disable_cache = true
|
|
disable_mlock = true
|
|
|
|
ui = true
|
|
|
|
api_addr = "top_level_api_addr"
|
|
cluster_addr = "top_level_cluster_addr"
|
|
|
|
listener "tcp" {
|
|
address = "127.0.0.1:443"
|
|
}
|
|
|
|
storage "consul" {
|
|
foo = "bar"
|
|
redirect_addr = "foo"
|
|
}
|
|
|
|
ha_storage "consul" {
|
|
bar = "baz"
|
|
redirect_addr = "snafu"
|
|
disable_clustering = "true"
|
|
}
|
|
|
|
service_registration "consul" {
|
|
foo = "bar"
|
|
}
|
|
|
|
telemetry {
|
|
statsd_address = "bar"
|
|
usage_gauge_period = "5m"
|
|
maximum_gauge_cardinality = 125
|
|
statsite_address = "foo"
|
|
dogstatsd_addr = "127.0.0.1:7254"
|
|
dogstatsd_tags = ["tag_1:val_1", "tag_2:val_2"]
|
|
prometheus_retention_time = "30s"
|
|
}
|
|
|
|
entropy "seal" {
|
|
mode = "augmentation"
|
|
}
|
|
|
|
sentinel {
|
|
additional_enabled_modules = []
|
|
}
|
|
kms "commastringpurpose" {
|
|
purpose = "foo,bar"
|
|
}
|
|
kms "slicepurpose" {
|
|
purpose = ["zip", "zap"]
|
|
}
|
|
seal "nopurpose" {
|
|
}
|
|
seal "stringpurpose" {
|
|
purpose = "foo"
|
|
}
|
|
|
|
max_lease_ttl = "10h"
|
|
default_lease_ttl = "10h"
|
|
cluster_name = "testcluster"
|
|
pid_file = "./pidfile"
|
|
raw_storage_endpoint = true
|
|
disable_sealwrap = true
|