forked from mtusi2026/mtusi2026lab7
lab7: PKI, mTLS infra, OpenBao non-dev, hardening, lifecycle scripts
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Template for Prometheus HTTPS + mTLS + Basic Auth web config (lab7).
|
||||
# scripts/init-env.sh renders ./secrets/infra/prometheus_web.yml with generated
|
||||
# bcrypt hashes for operator, grafana, otel-collector, and prometheus-self.
|
||||
# No real credentials or password hashes are committed to Git.
|
||||
tls_server_config:
|
||||
cert_file: /run/certs/server.crt
|
||||
key_file: /run/certs/server.key
|
||||
client_ca_file: /run/certs/ca.crt
|
||||
client_auth_type: RequireAndVerifyClientCert
|
||||
min_version: TLS12
|
||||
|
||||
basic_auth_users:
|
||||
operator: __OPERATOR_BCRYPT__
|
||||
grafana: __GRAFANA_BCRYPT__
|
||||
otel-collector: __OTEL_BCRYPT__
|
||||
prometheus-self: __SELF_BCRYPT__
|
||||
Reference in New Issue
Block a user