Lab7: HTTPS, mTLS, OpenBao, трек 2 PKI на оценку 5
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Wladislava1
2026-11-17 00:25:48 +03:00
parent 20afc2c790
commit 54dcf70ea6
88 changed files with 8930 additions and 58 deletions
+15
View File
@@ -0,0 +1,15 @@
ui = false
disable_mlock = true
storage "file" {
path = "/openbao/file"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_cert_file = "/openbao/tls/openbao.crt"
tls_key_file = "/openbao/tls/openbao.key"
}
api_addr = "https://openbao:8200"
cluster_addr = "https://openbao:8201"
+8
View File
@@ -0,0 +1,8 @@
# API may read only its own KV v2 secrets.
path "secret/data/messenger/api" {
capabilities = ["read"]
}
path "secret/metadata/messenger/api" {
capabilities = ["read"]
}
+8
View File
@@ -0,0 +1,8 @@
# Worker may read only its own KV v2 secrets.
path "secret/data/messenger/worker" {
capabilities = ["read"]
}
path "secret/metadata/messenger/worker" {
capabilities = ["read"]
}