fix vault: modify ansible policy
This commit is contained in:
parent
0538343169
commit
3ac0213417
@ -51,6 +51,11 @@ data "vault_policy_document" "ansible" {
|
|||||||
path = "secrets/data/database"
|
path = "secrets/data/database"
|
||||||
capabilities = ["read", "list"]
|
capabilities = ["read", "list"]
|
||||||
}
|
}
|
||||||
|
rule {
|
||||||
|
path = "secrets/data/database/*"
|
||||||
|
capabilities = ["read", "list"]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
resource "vault_policy" "ansible" {
|
resource "vault_policy" "ansible" {
|
||||||
|
Loading…
Reference in New Issue
Block a user