diff --git a/docs/configure-harvest-basic.md b/docs/configure-harvest-basic.md index 99d3f7828..e135a4e89 100644 --- a/docs/configure-harvest-basic.md +++ b/docs/configure-harvest-basic.md @@ -176,7 +176,7 @@ At runtime, the `credentials_file` will be read and the included credentials wil matching cluster(s). This is handy when integrating with 3rd party credential stores. -See #884 for examples. +See [#884](https://github.com/NetApp/harvest/discussions/884) for examples. The format of the `credentials_file` is similar to `harvest.yml` and can contain multiple cluster credentials. diff --git a/harvest.cue b/harvest.cue index ae33e119d..3b8b21345 100644 --- a/harvest.cue +++ b/harvest.cue @@ -50,8 +50,8 @@ label: [string]: string } #CertificateScript: { - path: string - timeout?: string + path: string + timeout?: string } #CredentialsScript: { @@ -69,11 +69,13 @@ Pollers: [Name=_]: #Poller #Poller: { addr?: string auth_style?: "basic_auth" | "certificate_auth" + ca_cert?: string + certificate_script?: #CertificateScript client_timeout?: string collectors?: [...#CollectorDef] | [...string] + conf_path?: string credentials_file?: string credentials_script?: #CredentialsScript - certificate_script?: #CertificateScript datacenter?: string exporters: [...string] is_kfs?: bool