Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs: improve some sections

adilsonc91ecd6d44c6
diff --git a/docs/documentation/platform/secret-rotation/cloudflare-api-token.mdx b/docs/documentation/platform/secret-rotation/cloudflare-api-token.mdx
index 7cba93d995..ffe1a0702a 100644
--- a/docs/documentation/platform/secret-rotation/cloudflare-api-token.mdx
+++ b/docs/documentation/platform/secret-rotation/cloudflare-api-token.mdx
@@ -49,7 +49,7 @@ description: "Learn how to automatically rotate Cloudflare API tokens."
- **Zones** - The zones the policy applies to. Shown only when the scope is `Specific zones`, and required in that case.
- **Permission group** - The Cloudflare permission group to grant. The list is fetched through your Cloudflare Connection and filtered to the groups that are valid for the selected scope.
- Policies that target the same effect, scope, and zones are combined into a single Cloudflare policy when the token is created.
+ Policies that target the same effect, scope, and zones are combined into a single policy when the token is created.
The **Restrictions** tab optionally limits where the generated token can be used:
diff --git a/docs/documentation/platform/secret-rotation/cloudflare-r2-access-key.mdx b/docs/documentation/platform/secret-rotation/cloudflare-r2-access-key.mdx
index 242c38f80e..5470896d45 100644
--- a/docs/documentation/platform/secret-rotation/cloudflare-r2-access-key.mdx
+++ b/docs/documentation/platform/secret-rotation/cloudflare-r2-access-key.mdx
@@ -25,7 +25,6 @@ An R2 access key is a Cloudflare API token viewed through R2's S3-compatible API
<Tabs>
<Tab title="Infisical UI">
1. Navigate to your Secret Manager Project's Dashboard and select **Add Secret Rotation** from the actions dropdown.
-
![Secret Manager Dashboard](/images/secret-rotations-v2/generic/add-secret-rotation.png)
2. Select the **Cloudflare R2 Access Key** option.
@@ -33,7 +32,6 @@ An R2 access key is a Cloudflare API token viewed through R2's S3-compatible API
![Select Cloudflare R2 Access Key](/images/secret-rotations-v2/cloudflare-r2-access-key/select-cloudflare-r2-access-key.png)
3. Configure the rotation behavior, then click **Next**.
-
- **Cloudflare Connection** - The connection that will create and delete access keys during rotation.
- **Rotation Interval** - The interval, in days, after which a rotation is triggered.
- **Rotate At** - The local time of day when rotation runs once the interval has elapsed.
@@ -156,17 +154,9 @@ An R2 access key is a Cloudflare API token viewed through R2's S3-compatible API
</Tab>
</Tabs>
-## Using the credentials
-
-The generated credentials work with any S3-compatible client:
-
-```bash
-AWS_ACCESS_KEY_ID=$CLOUDFLARE_R2_ACCESS_KEY_ID \
-AWS_SECRET_ACCESS_KEY=$CLOUDFLARE_R2_SECRET_ACCESS_KEY \
- aws s3 ls s3://my-bucket --endpoint-url https://<account-id>.r2.cloudflarestorage.com
-```
+<Warning>
+ **Buckets are granted by name.** The token's policy references each bucket by its name and jurisdiction, so renaming or recreating a bucket in Cloudflare breaks the grant. Cloudflare does not reject unknown bucket names, so a stale name produces a key that silently grants nothing on it. Update the rotation's parameters after renaming a bucket.
-## Notes
+ **Parameter changes apply on the next rotation.** Editing the buckets or access level does not re-scope the key that is currently active; the change takes effect when the next key is generated. Trigger a manual rotation if you need it applied immediately.
+</Warning>
-- **Buckets are granted by name.** The token's policy references each bucket by its name and jurisdiction, so renaming or recreating a bucket in Cloudflare breaks the grant. Cloudflare does not reject unknown bucket names, so a stale name produces a key that silently grants nothing on it — update the rotation's parameters after renaming a bucket.
-- **Parameter changes apply on the next rotation.** Editing the buckets or access level does not re-scope the key that is currently active; the change takes effect when the next key is generated. Trigger a manual rotation if you need it applied immediately.
diff --git a/docs/integrations/app-connections/cloudflare.mdx b/docs/integrations/app-connections/cloudflare.mdx
index e44d8fedcf..c7b95e3260 100644
--- a/docs/integrations/app-connections/cloudflare.mdx
+++ b/docs/integrations/app-connections/cloudflare.mdx
@@ -87,6 +87,7 @@ Infisical supports connecting to Cloudflare using API tokens and Account ID for
**Required Permissions:**
- **Account** - **API Tokens** - **Edit**
+ - **Account** - **Account Settings** - **Read**
The **API Tokens** - **Edit** permission is what allows Infisical to create the replacement token and revoke the previous one on each rotation cycle. Without it, rotation fails when creating the new token.
@@ -104,8 +105,9 @@ Infisical supports connecting to Cloudflare using API tokens and Account ID for
**Required Permissions:**
- **Account** - **API Tokens** - **Edit**
- **Account** - **Workers R2 Storage** - **Read**
+ - **Account** - **Account Settings** - **Read**
- **API Tokens** - **Edit** is what allows Infisical to create the replacement key and revoke the previous one on each rotation cycle. **Workers R2 Storage** - **Read** is used only to populate the bucket picker when you configure the rotation; without it the picker comes back empty and you cannot select buckets.
+ **API Tokens** - **Edit** is what allows Infisical to create the replacement key and revoke the previous one on each rotation cycle. **Workers R2 Storage** - **Read** is used only to populate the bucket picker when you configure the rotation; without it the picker comes back empty and you cannot select buckets. If you already know which bucket you plan to use and it is going to this using the API, you don't need it.
The generated keys are not granted these permissions. Each rotated key only receives object access to the buckets you select on the [Cloudflare R2 Access Key rotation](/documentation/platform/secret-rotation/cloudflare-r2-access-key) itself.