Skip to content

Commit

Permalink
doc: add go binary steps for credential script
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Dec 16, 2024
1 parent 27a1933 commit 84f8a63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/configure-harvest-basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ At runtime, Harvest will invoke the script specified in the `credentials_script`
The script should communicate the credentials to Harvest by writing the response to its standard output (stdout).
Harvest supports two output formats from the script: YAML and plain text.

When running Harvest inside a container, tools like `jq` and `curl` are not available.
In such cases, you can use a Go binary as a credential script to fetch authentication information. For details on using a Go binary as a credential script for Harvest container deployment, please refer to the [GitHub discussion](https://github.com/NetApp/harvest/discussions/3380).

### YAML format

If the script outputs a YAML object with `username` and `password` keys, Harvest will use both the `username` and `password` from the output. For example, if the script writes the following, Harvest will use `myuser` and `mypassword` for the poller's credentials.
Expand Down

0 comments on commit 84f8a63

Please sign in to comment.