github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/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  
    22        vault {
    23          policies = ["1", "2"]
    24        }
    25      }
    26    }
    27  }