Skip to content

Commit 9ce916d

Browse files
backport of commit 3dca654 (#30421)
Co-authored-by: Yoko Hyakuna <[email protected]>
1 parent 7d961af commit 9ce916d

File tree

1 file changed

+6
-16
lines changed
  • website/content/docs/agent-and-proxy/agent

1 file changed

+6
-16
lines changed

website/content/docs/agent-and-proxy/agent/index.mdx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ An example configuration, with very contrived values, follows:
346346
```hcl
347347
pid_file = "./pidfile"
348348

349+
log_file = "/var/log/vault-agent.log"
350+
349351
vault {
350352
address = "https://vault-fqdn:8200"
351353
retry {
@@ -383,22 +385,10 @@ cache {
383385
// An empty cache stanza still enables caching
384386
}
385387

386-
api_proxy {
387-
use_auto_auth_token = true
388-
}
389-
390-
listener "unix" {
391-
address = "/path/to/socket"
392-
tls_disable = true
393-
394-
agent_api {
395-
enable_quit = true
396-
}
397-
}
398-
399-
listener "tcp" {
400-
address = "127.0.0.1:8100"
401-
tls_disable = true
388+
template_config {
389+
static_secret_render_interval = "10m"
390+
exit_on_retry_failure = true
391+
max_connections_per_host = 20
402392
}
403393

404394
template {

0 commit comments

Comments
 (0)