Complete lab 7 security implementation
This commit is contained in:
@@ -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"
|
||||
@@ -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"]
|
||||
}
|
||||
@@ -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"]
|
||||
}
|
||||
Reference in New Issue
Block a user