Skip to content

Commit 76e8cf4

Browse files
enhance: add a warn about api token variants (#712)
1 parent 662dbf8 commit 76e8cf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crowdsec-docs/unversioned/bouncers/cloudflare-workers.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ prometheus:
217217

218218
For obtaining the `token`:
219219

220+
:::warning
221+
Ensure the `token` you are generating is a **user** API token these are found via clicking "my profile" and `API Tokens`. If you are in the `Account API Tokens` section then this is the incorrect place and these tokens have different rate limits which may cause issues whilst operating this Remediation Component.
222+
:::
223+
220224
1. Sign in as a user who has access to the desired account.
221225

222226
Then click [this link](https://dash.cloudflare.com/profile/api-tokens?permissionGroupKeys=%5B%7B%22key%22%3A%22account_settings%22%2C%22type%22%3A%22read%22%7D%2C%7B%22key%22%3A%22challenge_widgets%22%2C%22type%22%3A%22edit%22%7D%2C%7B%22key%22%3A%22user_details%22%2C%22type%22%3A%22read%22%7D%2C%7B%22key%22%3A%22workers_kv_storage%22%2C%22type%22%3A%22edit%22%7D%2C%7B%22key%22%3A%22workers_routes%22%2C%22type%22%3A%22edit%22%7D%2C%7B%22key%22%3A%22workers_scripts%22%2C%22type%22%3A%22edit%22%7D%2C%7B%22key%22%3A%22zone%22%2C%22type%22%3A%22read%22%7D%2C%20%7B%22key%22%3A%20%22dns%22%2C%20%22type%22%3A%22read%22%7D%2C%20%7B%22key%22%3A%22d1%22%2C%20%22type%22%3A%22edit%22%7D%5D&name=) and create the token.
@@ -564,4 +568,4 @@ Address to listen for Prometheus metrics. Example value `127.0.0.1`
564568
Port to listen for Prometheus metrics. Example value `2112`
565569

566570
## Troubleshooting
567-
- Metrics can be seen at http://localhost:2112/metrics
571+
- Metrics can be seen at http://localhost:2112/metrics

0 commit comments

Comments
 (0)