From 3dadba1a26945ada077fc224b1da8af02788f439 Mon Sep 17 00:00:00 2001 From: Rahul Date: Mon, 16 Dec 2024 16:50:53 +0530 Subject: [PATCH] doc: add go binary steps for credential script (#3381) --- docs/configure-harvest-basic.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/configure-harvest-basic.md b/docs/configure-harvest-basic.md index d74c84086..a392ef000 100644 --- a/docs/configure-harvest-basic.md +++ b/docs/configure-harvest-basic.md @@ -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.