feat: реализовать ЛР7 — TLS, mTLS, OpenBao и hardening

This commit is contained in:
ferraronp
2026-11-26 19:50:38 +03:00
parent 20afc2c790
commit ca7515601a
98 changed files with 6252 additions and 107 deletions
+13
View File
@@ -0,0 +1,13 @@
ui = false
disable_mlock = true
storage "file" {
path = "/openbao/file"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = 0
tls_cert_file = "/run/pki/openbao.crt"
tls_key_file = "/run/pki/openbao.key"
tls_min_version = "tls12"
}
api_addr = "https://openbao:8200"
+4
View File
@@ -0,0 +1,4 @@
# Short-lived tokens can only retrieve the credential bundle for api.
path "kv/data/api" {
capabilities = ["read"]
}
+4
View File
@@ -0,0 +1,4 @@
# Short-lived tokens can only retrieve the credential bundle for dispatcher.
path "kv/data/dispatcher" {
capabilities = ["read"]
}
+4
View File
@@ -0,0 +1,4 @@
# Short-lived tokens can only retrieve the credential bundle for worker.
path "kv/data/worker" {
capabilities = ["read"]
}