mirror of
https://github.com/enix/x509-certificate-exporter.git
synced 2026-08-23 22:16:39 +00:00
14 lines
598 B
YAML
14 lines
598 B
YAML
# Locks down a realistic inline webConfiguration: multi-line YAML the
|
|
# user would author by hand for TLS + mTLS + basic_auth on /metrics.
|
|
# The schema treats `webConfiguration` as a free-form string, so any
|
|
# valid YAML scalar passes — this fixture proves the common multi-line
|
|
# form (block scalar `|`) is accepted.
|
|
webConfiguration: |
|
|
tls_server_config:
|
|
cert_file: /etc/x509-tls/server.crt
|
|
key_file: /etc/x509-tls/server.key
|
|
client_auth_type: RequireAndVerifyClientCert
|
|
client_ca_file: /etc/x509-tls/ca.crt
|
|
basic_auth_users:
|
|
prometheus: $2y$12$REPLACE_WITH_BCRYPT_HASH
|