feat(lab7): implement secure messenger infrastructure with TLS, OpenBao and observability
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"]
|
||||
}
|
||||
Reference in New Issue
Block a user