github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/jobspec/test-fixtures/vault_inheritance.hcl (about)

     1  job "example" {
     2    vault {
     3      policies = ["job"]
     4    }
     5  
     6    group "cache" {
     7      vault {
     8        policies = ["group"]
     9      }
    10  
    11      task "redis" {}
    12  
    13      task "redis2" {
    14        vault {
    15          policies = ["task"]
    16          env      = false
    17        }
    18      }
    19    }
    20  
    21    group "cache2" {
    22      task "redis" {}
    23    }
    24  }