20 lines
361 B
HCL
20 lines
361 B
HCL
# Read vault metrics
|
|
path "sys/metrics" {
|
|
capabilities = ["read", "list"]
|
|
}
|
|
|
|
# Get a cert for Nomad
|
|
path "pki/nomad/issue/cluster-exporter" {
|
|
capabilities = ["update"]
|
|
}
|
|
|
|
# Get a cert for Consul
|
|
path "pki/consul/issue/cluster-exporter" {
|
|
capabilities = ["update"]
|
|
}
|
|
|
|
# Get a consul token
|
|
path "consul/creds/cluster-exporter" {
|
|
capabilities = ["read"]
|
|
}
|