44 lines
1.5 KiB
Markdown
44 lines
1.5 KiB
Markdown
---
|
|
title: Manage API tokens
|
|
seotitle: Manage API tokens in InfluxDB
|
|
description: Manage API tokens in InfluxDB using the InfluxDB UI or the influx CLI.
|
|
aliases:
|
|
- /influxdb/v2.0/users/tokens
|
|
influxdb/v2.0/tags: [tokens, authentication, security]
|
|
menu:
|
|
influxdb_2_0:
|
|
name: Manage tokens
|
|
parent: Security & authorization
|
|
weight: 103
|
|
---
|
|
|
|
InfluxDB **API tokens** ensure secure interaction between InfluxDB and external tools such as clients or applications.
|
|
An API token belongs to a specific user and identifies InfluxDB permissions within the user's organization.
|
|
|
|
Learn how to create, view, update, or delete an API token.
|
|
|
|
## API token types
|
|
|
|
- [Operator API token](#operator-token)
|
|
- [All-Access API token](#all-access-token)
|
|
- [Read/Write token](#readwrite-token)
|
|
|
|
#### Operator token
|
|
Grants full read and write access to all resources in **all organizations in InfluxDB OSS 2.x**.
|
|
|
|
{{% note %}}
|
|
Operator tokens are created in the InfluxDB setup process and cannot be created manually.
|
|
Because Operator tokens have full read and write access to all organizations in the database,
|
|
we recommend [creating an All-Access token](/influxdb/v2.0/security/tokens/create-token/)
|
|
for each organization and using those to manage InfluxDB.
|
|
This helps to prevent accidental interactions across organizations.
|
|
{{% /note %}}
|
|
|
|
#### All-Access token
|
|
Grants full read and write access to all resources in an organization.
|
|
|
|
#### Read/Write token
|
|
Grants read access, write access, or both to specific buckets in an organization.
|
|
|
|
{{< children hlevel="h2" >}}
|