How to create a read-only Cloudflare API key
Custom tokens choose an access level per permission and the exact accounts or zones they can reach.
- 01
Open API Tokens
My ProfileAPI Tokens - 02
Click Create Token and start a custom token
- 03
Name it, then add each permission at Read
- 04
Limit it to the accounts or zones it needs
You can also restrict it by IP address and give it an end date.
- 05
Continue to summary and click Create Token
- 06
Copy the secret now
It's only shown once.
To read traffic, add at Read
- Analytics

