Files
nomad/command/agent/testdata/extra-vault.json
Tim Gross 9d075c44b2 config: remove old Vault/Consul config blocks from parser (#18997)
Remove the now-unused original configuration blocks for Consul and Vault from
the agent configuration parsing. When the agent needs to refer to a Consul or
Vault block it will always be for a specific cluster for the task/service (or
the default cluster for the agent's own use).

This is third of three changesets for this work.

Fixes: https://github.com/hashicorp/nomad/issues/18947
Ref: https://github.com/hashicorp/nomad/pull/18991
Ref: https://github.com/hashicorp/nomad/pull/18994
2023-11-08 09:30:08 -05:00

34 lines
710 B
JSON

{
"vault": [
{
"enabled": true,
"token": "abracadabra"
},
{
"name": "alternate",
"address": "127.0.0.1:9501",
"allow_unauthenticated": true,
"task_token_ttl": "5s",
"enabled": true,
"token": "xyzzy",
"ca_file": "/path/to/ca/file",
"ca_path": "/path/to/ca",
"cert_file": "/path/to/cert/file",
"key_file": "/path/to/key/file",
"tls_server_name": "barbaz",
"tls_skip_verify": true,
"create_from_role": "test_role2"
},
{
"name": "other",
"address": "127.0.0.1:9502",
"default_identity": {
"aud": [
"vault-other.io"
],
"ttl": "4h"
}
}
]
}