From 8da4de177301e02b5b2d1083c2178d9712c9ca2a Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 10 Nov 2026 22:12:24 +1100 Subject: [PATCH] Grant the vault deployer the GitHub Actions JWT auth mount --- policies/auth/jwt/github/iuclabs/admin.yaml | 17 +++++++++++++++++ policies/sys/auth/admin.yaml | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 policies/auth/jwt/github/iuclabs/admin.yaml diff --git a/policies/auth/jwt/github/iuclabs/admin.yaml b/policies/auth/jwt/github/iuclabs/admin.yaml new file mode 100644 index 0000000..ab68989 --- /dev/null +++ b/policies/auth/jwt/github/iuclabs/admin.yaml @@ -0,0 +1,17 @@ +# Allow administration of the GitHub Actions (IUCLabs) JWT auth backend: mount +# config and per-repo workflow roles. +--- +rules: + - path: "auth/jwt/github/iuclabs/*" + capabilities: + - create + - update + - read + - delete + - list + +auth: + approle: + - tf_vault + k8s/au/syd1: + - woodpecker_terraform_vault diff --git a/policies/sys/auth/admin.yaml b/policies/sys/auth/admin.yaml index 9af620e..0bc62a4 100644 --- a/policies/sys/auth/admin.yaml +++ b/policies/sys/auth/admin.yaml @@ -26,6 +26,22 @@ rules: - read - list - sudo + - path: "sys/auth/jwt/github/iuclabs" + capabilities: + - create + - update + - delete + - read + - list + - sudo + - path: "sys/auth/jwt/github/iuclabs/tune" + capabilities: + - create + - update + - delete + - read + - list + - sudo auth: approle: