key-transparency-server/example/config.yaml
Katherine e5a45343df
Some checks failed
CI / test (push) Has been cancelled
Search for a specific version of an identifier
2025-10-29 09:59:56 -04:00

51 lines
1.7 KiB
YAML

kt:
server-addr: localhost:8082
authorized-headers:
ExampleHeader1:
- example value one
- example value two
header-value-to-auditor-name:
example value one: example-auditor-1
example value two: example-auditor-2
kt-query:
server-addr: localhost:8080
# at least one header-value mapping in this map will be required to be present on inbound requests with the configured value
authorized-headers:
ExampleHeader1:
- example value one
- example value two
header-value-to-auditor-name:
example value one: example-auditor-1
example value two: example-auditor-2
kt-test:
server-addr: localhost:8081
metrics-addr: localhost:8083
health-addr: localhost:8084
# Paste in the keys generated via `go run github.com/signalapp/keytransparency/cmd/generate-keys`
api:
signing-key: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
vrf-key: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
prefix-key: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
opening-key: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
# fake:
# count: 1
# interval: 10s
# This distinguished value is intentionally large for local development purposes: it's easier to adjust this value down
# and re-run the local server than to find that the tree accidentally grew too big and start the entire log over again.
distinguished: 1000h
auditors:
example-auditor-1: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
example-auditor-2: abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcdef1234abcd
min-search-delay: 1s
min-monitor-delay: 1s
jitter-percent: 10
db:
file: example/db
account-db: mock