backport of commit 325233ea7dba833e987909b21af547d0933751e3 (#21519)

Co-authored-by: Christophe Deliens <chris@deliens.be>
This commit is contained in:
hc-github-team-secure-vault-core 2023-06-30 13:48:20 -04:00 committed by GitHub
parent 303f940b96
commit d21351f245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

3
changelog/21466.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
agent: Fix "generate-config" command documentation URL
```

View File

@ -61,8 +61,8 @@ Usage: vault agent generate-config [options] [path/to/config.hcl]
In addition to env_template entries, the command generates an 'auto_auth'
section with 'token_file' authentication method. While this method is very
convenient for local testing, it should NOT be used in production. Please
see https://developer.hashicorp.com/vault/docs/agentandproxy/autoauth for
a list of production-ready auto_auth methods that you can use instead.
see https://developer.hashicorp.com/vault/docs/agent-and-proxy/autoauth/methods
for a list of production-ready auto_auth methods that you can use instead.
By default, the file will be generated in the local directory as 'agent.hcl'
unless a path is specified as an argument.