docs-v2/content/v2.0/reference/cli/influx/auth/create.md

3.9 KiB

title description menu weight
influx auth create The `influx auth create` creates an authorization in InfluxDB.
v2_0_ref
name parent
influx auth create influx auth
201

The influx auth create creates an authorization in InfluxDB.

Usage

influx auth create [flags]

Flags

Flag Description Input type {{< cli/mapped >}}
--configs-path Path to influx CLI configurations (default ~/.influxdbv2/configs) string INFLUX_CONFIGS_PATH
-h --help Help for the create command
--hide-headers Hide table headers (default false) INFLUX_HIDE_HEADERS
--host HTTP address of InfluxDB (default http://localhost:9999) string INFLUX_HOST
--json Output data as JSON (default false) INFLUX_OUTPUT_JSON
-o --org (Required) Organization name string INFLUX_ORG
--org-id Organization ID string INFLUX_ORG_ID
--read-bucket Bucket ID stringArray
--read-buckets Grants permission to read organization buckets
--read-dashboards Grants permission to read dashboards
--read-orgs Grants permission to read organizations
--read-tasks Grants permission to read tasks
--read-telegrafs Grants permission to read Telegraf configurations
--read-user Grants permission to read organization users
--skip-verify Skip TLS certificate verification
-t --token Authentication token string INFLUX_TOKEN
-u --user Username string
--write-bucket Bucket ID stringArray
--write-buckets Grants permission to create and update organization buckets
--write-dashboards Grants permission to create and update dashboards
--write-orgs Grants permission to create and update organizations
--write-tasks Grants permission to create and update tasks
--write-telegrafs Grants permission to create and update Telegraf configurations
--write-user Grants permission to create and update organization users