update docs (#12543)

This commit is contained in:
Kyle Schochenmaier 2022-03-09 13:24:20 -06:00 committed by GitHub
parent 0e122479fa
commit d6792f14a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 9 deletions

View File

@ -1366,6 +1366,23 @@ bind_addr = "{{ GetPrivateInterfaces | include \"network\" \"10.0.0.0/8\" | attr
as well as permission to mount the backend at this path if it is not already
mounted.
- `auth_method` ((#vault_ca_auth_method))
Vault auth method to use for logging in to Vault.
Please see [Vault Auth Methods](https://www.vaultproject.io/docs/auth) for more information
on how to configure individual auth methods. If auth method is provided, Consul will obtain a
new token from Vault when the token can no longer be renewed.
- `type` The type of Vault auth method.
- `mount_path` The mount path of the auth method.
If not provided the auth method type will be used as the mount path.
- `params` The parameters to configure the auth method.
Please see [Vault Auth Methods](https://www.vaultproject.io/docs/auth) for information on how
to configure the auth method you wish to use. If using the Kubernetes auth method, Consul will
read the service account token from the default mount path `/var/run/secrets/kubernetes.io/serviceaccount/token`
if the `jwt` parameter is not provided.
#### Common CA Config Options
There are also a number of common configuration options supported by all providers:

View File

@ -99,7 +99,7 @@ The configuration options are listed below.
- `AuthMethod` / `auth_method` (`map: nil`) - Vault auth method to use for logging in to Vault.
Please see [Vault Auth Methods](https://www.vaultproject.io/docs/auth) for more information
on how to configure individual auth methods. If auth method is provided, Consul will obtain a
on how to configure individual auth methods. If auth method is provided, Consul will obtain
a new token from Vault when the token can no longer be renewed.
- `Type`/ `type` (`string: ""`) - The type of Vault auth method.