github.com/remilapeyre/nomad@v0.8.5/jobspec/test-fixtures/multi-vault.hcl (about)

     1  job "binstore-storagelocker" {
     2    datacenters = ["us2", "eu1"]
     3  
     4    group "binsl" {
     5      task "binstore" {
     6        driver = "docker"
     7        user   = "bob"
     8  
     9        config {
    10          image = "hashicorp/binstore"
    11        }
    12  
    13        logs {
    14          max_files     = 10
    15          max_file_size = 100
    16        }
    17  
    18        vault {
    19          policies = ["foo", "bar"]
    20        }
    21        vault {
    22          policies = ["1", "2"]
    23        }
    24      }
    25  }