Skip to content

Commit

Permalink
doc: add go binary steps for credential script (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss authored Dec 16, 2024
1 parent c2aea80 commit 3dadba1
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 3dadba1

Please sign in to comment.