influx v1 auth
- influx CLI 2.0.0+
- InfluxDB 2.0.0+
The influx v1 auth
subcommands provide authorization management for the InfluxDB 1.x compatibility API.
InfluxDB 2.2 uses API tokens to authorize API requests. The 1.x compatibility API lets clients authenticate with InfluxDB 2.2 using the InfluxDB 1.x convention of username and password.
1.x-compatible authorizations are separate from the credentials used to log into the InfluxDB user interface.
Usage
influx v1 auth [flags]
influx v1 auth [command]
Command aliases
auth
, authorization
Commands
Command | Description |
---|---|
create | Create authorization |
delete | Delete authorization |
list | List authorizations |
set-active | Activate an authorization |
set-inactive | Deactivate an authorization |
set-password | Set a password for an existing authorization |
Flags
Flag | Description | |
---|---|---|
-h | —help | Help for the v1 auth command |
Related
- Upgrade from InfluxDB 1.x to 2.2
- InfluxDB 1.x compatibility API
- influx CLI—Provide required authentication credentials
- influx CLI—Flag patterns and conventions