feat(lab7): implement secure messenger infrastructure with TLS, OpenBao and observability

This commit is contained in:
2026-11-29 18:06:02 +03:00
parent 20afc2c790
commit c188a3beca
121 changed files with 10090 additions and 68 deletions
+10
View File
@@ -0,0 +1,10 @@
# Lab7 API: read only its own application secrets.
# No write, delete, list, or administrator capabilities.
path "lab7/data/api/*" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}
+24
View File
@@ -0,0 +1,24 @@
# OpenBao production-style configuration for lab7.
# Persistent Raft storage, HTTPS, manual operator unseal.
ui = false
api_addr = "https://openbao:8200"
cluster_addr = "https://openbao:8201"
disable_mlock = true
storage "raft" {
path = "/openbao/data"
node_id = "lab7-openbao-1"
}
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "0.0.0.0:8201"
tls_disable = false
tls_cert_file = "/openbao/tls/openbao.crt"
tls_key_file = "/openbao/tls/openbao.key"
tls_min_version = "tls12"
}
+10
View File
@@ -0,0 +1,10 @@
# Lab7 worker: read only its own application secrets.
# No write, delete, list, or administrator capabilities.
path "lab7/data/worker/*" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}