InfluxDB Docs

influx auth create

The influx auth create creates an authorization in InfluxDB.

Usage

influx auth create [flags]

Flags

FlagDescriptionInput typeMaps to ?
-h, --helpHelp for the create command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-o, --org(Required) Organization namestringINFLUX_ORG
--org-idOrganization IDstringINFLUX_ORG_ID
--read-bucketBucket IDstringArray
--read-bucketsGrants permission to read organization buckets
--read-dashboardsGrants permission to read dashboards
--read-orgsGrants permission to read organizations
--read-tasksGrants permission to read tasks
--read-telegrafsGrants permission to read Telegraf configurations
--read-userGrants permission to read organization users
-u, --userUsernamestring
--write-bucketBucket IDstringArray
--write-bucketsGrants permission to create and update organization buckets
--write-dashboardsGrants permission to create and update dashboards
--write-orgsGrants permission to create and update organizations
--write-tasksGrants permission to create and update tasks
--write-telegrafsGrants permission to create and update Telegraf configurations
--write-userGrants permission to create and update organization users

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstringINFLUX_TOKEN

New! Cloud or OSS?