lab7: PKI, mTLS infra, OpenBao non-dev, hardening, lifecycle scripts

This commit is contained in:
2026-11-26 16:47:23 +03:00
parent cda6e27fb8
commit 16accda962
45 changed files with 3593 additions and 660 deletions
+16
View File
@@ -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__