influx config command manages multiple InfluxDB connection configurations
file (by default, stored at
Each connection includes a URL, token, associated organization, and active setting.
InfluxDB reads the token from the active connection configuration, so you don’t
have to manually enter a token to log into InfluxDB.
influx config [flags] influx config [command]
Quickly switch between configurations
# Syntax influx config <config-name> # Example influx config local-config
To quickly switch back to the previous configuration, use the following command:
influx config -
|create||Create a new connection configuration|
|list||List connection configurations|
|delete||Delete a connection configuration|
|set||Set or update a connection configuration|
|Help for the |
|Flag||Description||Input type||Maps to ?|
|HTTP address of InfluxDB (default ||string|
|Run commands against the local filesystem|
|Skip certificate verification (use when connecting over TLS with a self-signed certificate)|
|API token to use in client calls||string|
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.