Cloudflare token permissions
deepdatalive opened this issue · 3 comments
Hi can you please help me understand what all permissions are needed while creating the API key for d1-console?
You'll need to provide D1 Edit permissions to edit your databases, or just Read permissions if you only want to read data with D1 Console.
You can optionally scope the token to a specific account - for example, if you have multiple accounts all subscribed to D1, you can choose which one(s) this token is valid for.
And finally, you can add a specific IP address to only allow that IP to use the token. Note that if you are on a residential internet connection your IP address may be shared or may change without warning so if things stop working keep that in mind.
Closing this issue - feel free to ask for clarification if needed.
Hi thanks really appreciate the information!