Skip to content

Commit

Permalink
feat: Harvest should define and document auth precedence
Browse files Browse the repository at this point in the history
Fixes: #1867
  • Loading branch information
cgrinds committed Apr 4, 2023
1 parent 011214d commit 06204ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/configure-harvest-basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ Harvest supports both client certificates and basic authentication.
These methods of authentication are defined in the `Pollers` or `Defaults` section of your `harvest.yml` using one or more
of the following parameters.

| parameter | description | default | Link |
|----------------------|----------------------------------------------------------------------------|--------------|-----------------------------|
| `auth_sytle` | One of `basic_auth` or `certificate_auth` | `basic_auth` | [link](#Pollers) |
| `username` | Username used for authenticating to the remote system | | [link](#Pollers) |
| `password` | Password used for authenticating to the remote system | | [link](#Pollers) |
| `credentials_file` | Relative or absolute path to a yaml file that contains cluster credentials | | [link](#credentials-file) |
| `credentials_script` | External script Harvest executes to retrieve credentials | | [link](#credentials-script) |
| parameter | description | default | Link |
|----------------------|----------------------------------------------------------------------------------------------------------|--------------|-----------------------------|
| `auth_sytle` | One of `basic_auth` or `certificate_auth` Optional when using `credentials_file` or `credentials_script` | `basic_auth` | [link](#Pollers) |
| `username` | Username used for authenticating to the remote system | | [link](#Pollers) |
| `password` | Password used for authenticating to the remote system | | [link](#Pollers) |
| `credentials_file` | Relative or absolute path to a yaml file that contains cluster credentials | | [link](#credentials-file) |
| `credentials_script` | External script Harvest executes to retrieve credentials | | [link](#credentials-script) |

When multiple authentication parameters are defined at the same time,
Harvest tries each method listed below, in the following order, to resolve authentication requests.
Expand Down

0 comments on commit 06204ab

Please sign in to comment.