docs-v2/content/v2.0/users/create-user.md

1.2 KiB

title seotitle description menu weight
Create a user Create a user in InfluxDB Create a user in InfluxDB using the InfluxDB UI or the influx CLI.
v2_0
name parent
Create a user Manage users
101

Use the InfluxDB user interface (UI) or the influx command line interface (CLI) to create a user.

Create a user in the InfluxDB UI

{{% note %}} While in alpha, additional users cannot be created in the InfluxDB UI. {{% /note %}}

Create a user using the influx CLI

Use the influx user create command to create a new user. A new user requires the following:

  • A username
# Pattern
influx user create -n <username>

# Example
influx user create -n johndoe

Create a user with a password and organization

To create a new user with a password and add the user as a member of an organization, include a password and organization ID with the influx user create command.

Use the influx org find command to retrieve your organization ID.

# Pattern
influx user create -n <username> -p <password> -o <org-id>

# Example
influx user create -n johndoe -p PaSsWoRd -o 0o0x00o0x0000oo0