Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/r2/api/tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { DashButton } from "~/components";

You can generate an API token to serve as the Access Key for usage with existing S3-compatible SDKs or XML APIs.

:::note
This page contains instructions on generating API tokens _specifically_ for R2. Note that this is different from generating API tokens for other services, as documented in [Create API token](/fundamentals/api/get-started/create-token/).
:::

You must purchase R2 before you can generate an API token.

To create an API token:
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/r2/data-catalog/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ When you run this command, take note of the "Warehouse" and "Catalog URI". You w

## 3. Create an API token

Iceberg clients (including [PyIceberg](https://py.iceberg.apache.org/)) must authenticate to the catalog with a [Cloudflare API token](/fundamentals/api/get-started/create-token/) that has both R2 and catalog permissions.
Iceberg clients (including [PyIceberg](https://py.iceberg.apache.org/)) must authenticate to the catalog with an [R2 API token](/r2/api/tokens/) that has both R2 and catalog permissions.

<Steps>
1. In the Cloudflare dashboard, go to the **R2 object storage** page.

<DashButton url="/?to=/:account/r2/overview" />
2. Expand the **API** dropdown and select **Manage API tokens**.
2. Select **Manage API tokens**.

3. Select **Create API token**.

Expand Down
Loading