Skip to content

Commit 39c705b

Browse files
[R2] Updating instructions regarding R2 APIs (cloudflare#25143)
* Updating instructions to match new Dash * Apply suggestions from code review Co-authored-by: marciocloudflare <[email protected]> --------- Co-authored-by: marciocloudflare <[email protected]>
1 parent 31e4a9d commit 39c705b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/content/docs/r2/api/tokens.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import { DashButton } from "~/components";
99

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

12+
:::note
13+
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/).
14+
:::
15+
1216
You must purchase R2 before you can generate an API token.
1317

1418
To create an API token:

src/content/docs/r2/data-catalog/get-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ When you run this command, take note of the "Warehouse" and "Catalog URI". You w
9696

9797
## 3. Create an API token
9898

99-
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.
99+
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.
100100

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

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

107107
3. Select **Create API token**.
108108

0 commit comments

Comments
 (0)