---
title: Manage database tokens
description: Manage database tokens in your InfluxDB cluster. Database tokens grant read and write permissions to one or more databases and allow for actions like writing and querying data.
url: https://docs.influxdata.com/influxdb3/clustered/admin/tokens/database/
estimated_tokens: 916
product: InfluxDB Clustered
version: clustered
---

# Manage database tokens

InfluxDB Clustered database tokens grant read and write permissions to one or more databases and allow for actions like writing and querying data.

### [Create a database token](/influxdb3/clustered/admin/tokens/database/create/)

Use the [`influxctl token create` command](/influxdb3/clustered/reference/cli/influxctl/token/create/) to create a [database token](/influxdb3/clustered/admin/tokens/database/) for reading and writing data in your InfluxDB cluster. Provide a token description and permissions for databases.

```sh
influxctl token create \
  --read-database DATABASE1_NAME \
  --read-database DATABASE2_NAME \
  --write-database DATABASE2_NAME \
  --expires-at 2030-01-01T00:00:00Z \
  "Read-only on DATABASE1_NAME, Read/write on DATABASE2_NAME"
```

### [Update a database token](/influxdb3/clustered/admin/tokens/database/update/)

Use the [`influxctl token update` command](/influxdb3/clustered/reference/cli/influxctl/token/update/) to update a database token’s permissions in your InfluxDB cluster.

```sh
influxctl token update \
  --read-database <DATABASE1_NAME> \
  --read-database <DATABASE2_NAME> \
  --write-database <DATABASE2_NAME> \
  <TOKEN_ID>
```

### [List database tokens](/influxdb3/clustered/admin/tokens/database/list/)

Use the [`influxctl token list` command](/influxdb3/clustered/reference/cli/influxctl/token/list/) to list tokens in your InfluxDB cluster.

```sh
influxctl token list
```

### [Revoke a database token](/influxdb3/clustered/admin/tokens/database/revoke/)

Use the [`influxctl token revoke` command](/influxdb3/clustered/reference/cli/influxctl/token/revoke/) to revoke a token from your InfluxDB cluster and disable all permissions associated with the token. Provide the ID of the token you want to revoke.

```sh
influxctl token revoke <TOKEN_ID>
```

[tokens](/influxdb3/clustered/tags/tokens/)
