vault: add ghp k8s auth role + kv read policy #120

Closed
unkin-agent wants to merge 1 commits from benvin/ghp-vault into master
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,7 @@
bound_service_account_names:
- ghp
bound_service_account_namespaces:
- ghp
token_ttl: 600
token_max_ttl: 600
audience: vault
+17
View File
@@ -0,0 +1,17 @@
# Allow ghp to read its GitHub App credentials and encryption key
#
# kv/kubernetes/ghp/github-app (app_id/client_id/client_secret/private_key)
# kv/kubernetes/ghp/app (encryption_key)
---
rules:
- path: "kv/data/kubernetes/ghp/*"
capabilities:
- read
- path: "kv/metadata/kubernetes/ghp/*"
capabilities:
- read
- list
auth:
k8s/au/syd1:
- ghp