Back to Influxdb

Influx Creds Note

layouts/shortcodes/cli/influx-creds-note.html

latest854 B
Original Source

{{- $productData := partial "product/get-data.html" . -}} {{- $namespace := $productData.namespace -}} {{- $version := .Page.Params.version -}}

Authentication credentials

The examples below assume your InfluxDB host , organization , and token are provided by either the active influx CLI configuration or by environment variables (INFLUX_HOST, INFLUX_ORG, and INFLUX_TOKEN). If you do not have a CLI configuration set up or the environment variables set, include these required credentials for each command with the following flags:

  • --host: InfluxDB host
  • -o, --org or --org-id: InfluxDB organization name or ID
  • -t, --token: InfluxDB API token