feat: manage gitadmin token #74
@@ -0,0 +1,9 @@
|
|||||||
|
token_ttl: 120
|
||||||
|
token_max_ttl: 120
|
||||||
|
bind_secret_id: false
|
||||||
|
token_bound_cidrs:
|
||||||
|
- "10.10.12.200/32"
|
||||||
|
- "198.18.25.102/32"
|
||||||
|
- "198.18.26.91/32"
|
||||||
|
- "198.18.27.40/32"
|
||||||
|
use_deterministic_role_id: true
|
||||||
@@ -5,5 +5,7 @@ rules:
|
|||||||
- read
|
- read
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
|
approle:
|
||||||
|
- terraform_git
|
||||||
k8s/au/syd1:
|
k8s/au/syd1:
|
||||||
- woodpecker_terraform_git
|
- woodpecker_terraform_git
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# Allow reading Gitea admin token
|
||||||
|
---
|
||||||
|
rules:
|
||||||
|
- path: "kv/data/service/gitea/gitadmin/tokens/terraform-git"
|
||||||
|
capabilities:
|
||||||
|
- read
|
||||||
|
|
||||||
|
auth:
|
||||||
|
approle:
|
||||||
|
- terraform_git
|
||||||
|
k8s/au/syd1:
|
||||||
|
- woodpecker_terraform_git
|
||||||
Reference in New Issue
Block a user