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: