create new vault snapshot policy
This commit is contained in:
parent
efa707dea0
commit
ddf50d4837
@ -1,4 +1,13 @@
|
|||||||
|
data "vault_policy_document" "snapshot" {
|
||||||
|
rule {
|
||||||
|
path= "sys/storage/raft/snapshot"
|
||||||
|
capabilities = ["read"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
resource "vault_policy" "snapshot" {
|
||||||
|
name = "snapshot"
|
||||||
|
policy = data.vault_policy_document.snapshot.hcl
|
||||||
|
}
|
||||||
data "vault_policy_document" "nomad_server_policy" {
|
data "vault_policy_document" "nomad_server_policy" {
|
||||||
rule {
|
rule {
|
||||||
path = "auth/token/create/nomad-cluster"
|
path = "auth/token/create/nomad-cluster"
|
||||||
|
Loading…
Reference in New Issue
Block a user