Добавить стенд лабораторной 7 с mTLS, OpenBao и least privilege worker.

Закрывает обязательный минимум и трек 1: ротация leaf и секрета, sealed OpenBao и сохранность queued-задачи.
This commit is contained in:
2026-11-07 20:46:02 +03:00
parent 20afc2c790
commit baafe2a3ae
76 changed files with 6473 additions and 65 deletions
+18
View File
@@ -0,0 +1,18 @@
ui = false
log_level = "warn"
listener "tcp" {
address = "0.0.0.0:8200"
tls_cert_file = "/openbao/tls/server.crt"
tls_key_file = "/openbao/tls/server.key"
tls_client_ca_file = "/openbao/tls/ca.crt"
tls_require_and_verify_client_cert = true
tls_min_version = "tls12"
}
storage "file" {
path = "/openbao/data"
}
api_addr = "https://openbao:8200"
cluster_addr = "https://openbao:8201"
+27
View File
@@ -0,0 +1,27 @@
path "secret/data/api/*" {
capabilities = ["read"]
}
path "secret/metadata/api/*" {
capabilities = ["read", "list"]
}
path "secret/data/worker/*" {
capabilities = ["deny"]
}
path "secret/metadata/worker/*" {
capabilities = ["deny"]
}
path "auth/token/renew-self" {
capabilities = ["update"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "sys/*" {
capabilities = ["deny"]
}
+27
View File
@@ -0,0 +1,27 @@
path "secret/data/worker/*" {
capabilities = ["read"]
}
path "secret/metadata/worker/*" {
capabilities = ["read", "list"]
}
path "secret/data/api/*" {
capabilities = ["deny"]
}
path "secret/metadata/api/*" {
capabilities = ["deny"]
}
path "auth/token/renew-self" {
capabilities = ["update"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "sys/*" {
capabilities = ["deny"]
}