Skip to content

Commit 070fbd3

Browse files
committed
Catching missed R2 chapters
1 parent 732a933 commit 070fbd3

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ sidebar:
55
order: 2
66
---
77

8+
import { DashButton } from "~/components";
9+
810
You can generate an API token to serve as the Access Key for usage with existing S3-compatible SDKs or XML APIs.
911

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

1214
To create an API token:
1315

14-
1. In **Account Home**, select **R2**.
15-
2. Under the **API** dropdown, select [**Manage API tokens**](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).
16+
1. <DashButton url="/?to=/:account/r2/overview" />
17+
2. Select **Manage API tokens**.
1618
3. Choose to create either:
1719
- **Create Account API token** - These tokens are tied to the Cloudflare account itself and can be used by any authorized system or user. Only users with the Super Administrator role can view or create them. These tokens remain valid until manually revoked.
1820
- **Create User API token** - These tokens are tied to your individual Cloudflare user. They inherit your personal permissions and become inactive if your user is removed from the account.

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
TypeScriptExample,
1818
WranglerConfig,
1919
LinkCard,
20+
DashButton,
2021
} from "~/components";
2122

2223
## Overview
@@ -56,7 +57,7 @@ This guide will instruct you through:
5657
<TabItem label='Dashboard'>
5758

5859
<Steps>
59-
1. From the Cloudflare dashboard, select **R2 Object Storage** from the sidebar.
60+
1. <DashButton url="/?to=/:account/r2/overview" />
6061
2. Select **Create bucket**.
6162
3. Enter the bucket name: r2-data-catalog-tutorial
6263
4. Select **Create bucket**.
@@ -75,13 +76,13 @@ Then, enable the catalog on your chosen R2 bucket:
7576
npx wrangler r2 bucket catalog enable r2-data-catalog-tutorial
7677
```
7778

78-
When you run this command, take note of the "Warehouse" and "Catalog URI". You will need these later.
79+
When you run this command, take note of the "Warehouse" and "Catalog URI". You will need these later.
7980

8081
</TabItem>
8182
<TabItem label='Dashboard'>
8283

8384
<Steps>
84-
1. From the Cloudflare dashboard, select **R2 Object Storage** from the sidebar.
85+
1. <DashButton url="/?to=/:account/r2/overview" />
8586
2. Select the bucket: r2-data-catalog-tutorial.
8687
3. Switch to the **Settings** tab, scroll down to **R2 Data Catalog**, and select **Enable**.
8788
4. Once enabled, note the **Catalog URI** and **Warehouse name**.
@@ -94,7 +95,7 @@ When you run this command, take note of the "Warehouse" and "Catalog URI". You w
9495
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.
9596

9697
<Steps>
97-
1. From the Cloudflare dashboard, select **R2 Object Storage** from the sidebar.
98+
1. <DashButton url="/?to=/:account/r2/overview" />
9899

99100
2. Expand the **API** dropdown and select **Manage API tokens**.
100101

src/content/docs/r2/data-catalog/manage-catalogs.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
TypeScriptExample,
1717
WranglerConfig,
1818
LinkCard,
19+
DashButton,
1920
} from "~/components";
2021

2122
Learn how to:
@@ -30,7 +31,7 @@ Enabling the catalog on a bucket turns on the REST catalog interface and provide
3031
### Dashboard
3132

3233
<Steps>
33-
1. From the Cloudflare dashboard, select **R2 Object Storage** from the sidebar.
34+
1. <DashButton url="/?to=/:account/r2/overview" />
3435
2. Select the bucket you want to enable as a data catalog.
3536
3. Switch to the **Settings** tab, scroll down to **R2 Data Catalog**, and select **Enable**.
3637
4. Once enabled, note the **Catalog URI** and **Warehouse name**.
@@ -53,7 +54,7 @@ When you disable the catalog on a bucket, it immediately stops serving requests
5354
### Dashboard
5455

5556
<Steps>
56-
1. From the Cloudflare dashboard, select **R2 Object Storage** from the sidebar.
57+
1. <DashButton url="/?to=/:account/r2/overview" />
5758
2. Select the bucket where you want to disable the data catalog.
5859
3. Switch to the **Settings** tab, scroll down to **R2 Data Catalog**, and select **Disable**.
5960
</Steps>

0 commit comments

Comments
 (0)