feat: add repoflow tokens
- add approle for terraform-repoflow - add policies to access repoflow tokens
This commit is contained in:
parent
2466a6fe5c
commit
9814b8fc1a
16
auth_approle_terraform_repoflow.tf
Normal file
16
auth_approle_terraform_repoflow.tf
Normal file
@ -0,0 +1,16 @@
|
||||
resource "vault_approle_auth_backend_role" "terraform_repoflow" {
|
||||
role_name = "terraform_repoflow"
|
||||
bind_secret_id = false
|
||||
token_policies = [
|
||||
"default_access",
|
||||
"kv/service/repoflow/unkinadmin/tokens/terraform/read",
|
||||
]
|
||||
token_ttl = 60
|
||||
token_max_ttl = 120
|
||||
token_bound_cidrs = [
|
||||
"10.10.12.200/32",
|
||||
"198.18.25.102/32",
|
||||
"198.18.26.91/32",
|
||||
"198.18.27.40/32",
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
path "kv/data/service/repoflow/unkinadmin/tokens/terraform" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user