Complete lab 7 security implementation

This commit is contained in:
2026-11-26 22:26:21 +03:00
parent 20afc2c790
commit df47ebd9f1
89 changed files with 9765 additions and 53 deletions
+20
View File
@@ -0,0 +1,20 @@
ui = true
storage "file" {
path = "/openbao/data"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = false
tls_cert_file = "/openbao/certs/openbao.crt"
tls_key_file = "/openbao/certs/openbao.key"
tls_client_ca_file = "/openbao/certs/ca.crt"
tls_require_and_verify_client_cert = false
}
audit "file" {
file_path = "/openbao/logs/audit.log"
}
api_addr = "https://openbao:8200"
+12
View File
@@ -0,0 +1,12 @@
path "secret/data/messenger/api" {
capabilities = ["read"]
}
path "secret/metadata/messenger/api" {
capabilities = ["read"]
}
path "auth/token/renew-self" {
capabilities = ["update"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
+12
View File
@@ -0,0 +1,12 @@
path "secret/data/messenger/worker" {
capabilities = ["read"]
}
path "secret/metadata/messenger/worker" {
capabilities = ["read"]
}
path "auth/token/renew-self" {
capabilities = ["update"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}