Add IUCLabs GitHub jwt roles for terraform repos #187

Merged
benvin merged 2 commits from benvin/gha-terraform-roles into master 2026-11-21 01:18:54 +11:00
75 changed files with 255 additions and 0 deletions
@@ -0,0 +1,23 @@
---
bound_audiences: ["https://vault.service.consul:8200"]
bound_claims:
repository: IUCLabs/terraform-artifactapi
repository_owner: IUCLabs
event_name: push,pull_request
ref: refs/heads/main,refs/pull/*/merge
claim_mappings:
repository: repository
repository_owner: repository_owner
ref: ref
ref_type: ref_type
event_name: event_name
workflow: workflow
job_workflow_ref: job_workflow_ref
run_id: run_id
run_attempt: run_attempt
sha: sha
actor: actor
environment: environment
user_claim: jti
token_ttl: 600
token_max_ttl: 600
@@ -0,0 +1,23 @@
---
bound_audiences: ["https://vault.service.consul:8200"]
bound_claims:
repository: IUCLabs/terraform-authentik
repository_owner: IUCLabs
event_name: push,pull_request
ref: refs/heads/main,refs/pull/*/merge
claim_mappings:
repository: repository
repository_owner: repository_owner
ref: ref
ref_type: ref_type
event_name: event_name
workflow: workflow
job_workflow_ref: job_workflow_ref
run_id: run_id
run_attempt: run_attempt
sha: sha
actor: actor
environment: environment
user_claim: jti
token_ttl: 600
token_max_ttl: 600
@@ -0,0 +1,23 @@
---
bound_audiences: ["https://vault.service.consul:8200"]
bound_claims:
repository: IUCLabs/terraform-binarylane
repository_owner: IUCLabs
event_name: push,pull_request
ref: refs/heads/main,refs/pull/*/merge
claim_mappings:
repository: repository
repository_owner: repository_owner
ref: ref
ref_type: ref_type
event_name: event_name
workflow: workflow
job_workflow_ref: job_workflow_ref
run_id: run_id
run_attempt: run_attempt
sha: sha
actor: actor
environment: environment
user_claim: jti
token_ttl: 600
token_max_ttl: 600
@@ -0,0 +1,23 @@
---
bound_audiences: ["https://vault.service.consul:8200"]
bound_claims:
repository: IUCLabs/terraform-git
repository_owner: IUCLabs
event_name: push,pull_request
ref: refs/heads/main,refs/pull/*/merge
claim_mappings:
repository: repository
repository_owner: repository_owner
ref: ref
ref_type: ref_type
event_name: event_name
workflow: workflow
job_workflow_ref: job_workflow_ref
run_id: run_id
run_attempt: run_attempt
sha: sha
actor: actor
environment: environment
user_claim: jti
token_ttl: 3600
token_max_ttl: 3600
@@ -0,0 +1,23 @@
---
bound_audiences: ["https://vault.service.consul:8200"]
bound_claims:
repository: IUCLabs/terraform-vault
repository_owner: IUCLabs
event_name: push,pull_request
ref: refs/heads/master,refs/pull/*/merge
claim_mappings:
repository: repository
repository_owner: repository_owner
ref: ref
ref_type: ref_type
event_name: event_name
workflow: workflow
job_workflow_ref: job_workflow_ref
run_id: run_id
run_attempt: run_attempt
sha: sha
actor: actor
environment: environment
user_claim: jti
token_ttl: 600
token_max_ttl: 600
+2
View File
@@ -23,5 +23,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -13,5 +13,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -21,5 +21,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -15,5 +15,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -15,5 +15,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -14,5 +14,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_artifactapi
jwt/github/iuclabs:
- terraform_artifactapi
k8s/au/syd1:
- woodpecker_terraform_artifactapi
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_authentik
jwt/github/iuclabs:
- terraform_authentik
k8s/au/syd1:
- woodpecker_terraform_authentik
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_binarylane
jwt/github/iuclabs:
- terraform_binarylane
k8s/au/syd1:
- woodpecker_terraform_binarylane
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_git
jwt/github/iuclabs:
- terraform_git
k8s/au/syd1:
- woodpecker_terraform_git
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -33,5 +33,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -38,5 +38,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -19,5 +19,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -20,5 +20,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -19,5 +19,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -10,5 +10,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -47,5 +47,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_artifactapi
jwt/github/iuclabs:
- terraform_artifactapi
k8s/au/syd1:
- woodpecker_terraform_artifactapi
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -15,5 +15,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -11,5 +11,7 @@ rules:
auth:
approle:
- terraform_authentik
jwt/github/iuclabs:
- terraform_authentik
k8s/au/syd1:
- woodpecker_terraform_authentik
@@ -18,5 +18,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -17,5 +17,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -28,5 +28,7 @@ rules:
auth:
approle:
- terraform_authentik
jwt/github/iuclabs:
- terraform_authentik
k8s/au/syd1:
- woodpecker_terraform_authentik
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- terraform_git
jwt/github/iuclabs:
- terraform_git
k8s/au/syd1:
- woodpecker_terraform_git
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- terraform_git
jwt/github/iuclabs:
- terraform_git
k8s/au/syd1:
- woodpecker_terraform_git
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -8,5 +8,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -10,5 +10,7 @@ rules:
auth:
approle:
- terraform_authentik
jwt/github/iuclabs:
- terraform_authentik
k8s/au/syd1:
- woodpecker_terraform_authentik
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- terraform_binarylane
jwt/github/iuclabs:
- terraform_binarylane
k8s/au/syd1:
- woodpecker_terraform_binarylane
@@ -27,5 +27,7 @@ rules:
auth:
approle:
- terraform_git
jwt/github/iuclabs:
- terraform_git
k8s/au/syd1:
- woodpecker_terraform_git
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -19,5 +19,7 @@ rules:
auth:
approle:
- terraform_binarylane
jwt/github/iuclabs:
- terraform_binarylane
k8s/au/syd1:
- woodpecker_terraform_binarylane
@@ -7,5 +7,7 @@ rules:
auth:
approle:
- terraform_git
jwt/github/iuclabs:
- terraform_git
k8s/au/syd1:
- woodpecker_terraform_git
+2
View File
@@ -22,5 +22,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -38,5 +38,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
@@ -19,5 +19,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -9,5 +9,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -41,5 +41,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -46,5 +46,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -11,5 +11,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -16,5 +16,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -12,5 +12,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -16,5 +16,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault
+2
View File
@@ -16,5 +16,7 @@ rules:
auth:
approle:
- tf_vault
jwt/github/iuclabs:
- terraform_vault
k8s/au/syd1:
- woodpecker_terraform_vault