Platform secret setup
This commit is contained in:
parent
f0061d5020
commit
a7ffeb8b46
8 changed files with 493 additions and 4 deletions
16
openbao/policies/workload-kv-read-template.hcl
Normal file
16
openbao/policies/workload-kv-read-template.hcl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Template for a namespace/service-account-specific workload KV policy.
|
||||
#
|
||||
# Copy this file for a real workload and replace:
|
||||
# <namespace> Kubernetes namespace, e.g. artifact-store
|
||||
# <service-account> Kubernetes service account, e.g. artifact-store
|
||||
#
|
||||
# The matching Kubernetes auth role should bind the same namespace and service
|
||||
# account and attach the copied policy.
|
||||
|
||||
path "platform/data/workloads/<namespace>/<service-account>/*" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "platform/metadata/workloads/<namespace>/<service-account>/*" {
|
||||
capabilities = ["read", "list"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue