feat: manage terraform access to vault
- add approle for terraform, tf_vault - add policices to manage terraform access to vault - add policices for default access to vault from ldap users
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
path "auth/approle/role/*" {
|
||||
capabilities = ["create", "update", "read", "delete", "list"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
path "auth/approle/login" {
|
||||
capabilities = ["create"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
path "auth/ldap/*" {
|
||||
capabilities = ["create", "update", "read", "delete", "list"]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
path "auth/token/create" {
|
||||
capabilities = ["create", "read", "update", "list"]
|
||||
}
|
||||
|
||||
path "auth/token/*" {
|
||||
capabilities = ["create", "update"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# Allow listing and reading tokens
|
||||
path "auth/token/lookup" {
|
||||
capabilities = ["read", "list"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# Allow renewing tokens
|
||||
path "auth/token/renew" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
path "auth/token/roles/*" {
|
||||
capabilities = ["create", "read", "update", "delete", "list"]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
# Allow tokens to query themselves
|
||||
path "auth/token/lookup-self" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
# Allow tokens to renew themselves
|
||||
path "auth/token/renew-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
# Allow tokens to revoke themselves
|
||||
path "auth/token/revoke-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
Reference in New Issue
Block a user