Cloudflare

Cloudflare admin

Getting configuration data for Entitle access

Creating a token

  • Log into your Cloudflare user and go here.
  • Click Create Token.
  • Create a custom token by clicking on Get started right next to the Create Custom Token option.
  • Add the following permissions to your token:
    • Account - Access: Organizations, Identity Providers, and Groups - Read
    • Account - Account Settings - Edit
912
  • Click Continue to Summary and Create Token.
  • Copy the token.

Account ID

  • log into your Cloudflare user and go here.
  • Select your account.
  • On the left menu, select Workers → Overview
  • On the bottom right side, you will see your account ID:
450

Entitle's Integration Configuration

{
    "token": "xxxxxx",
    "account_id": "xxxxxx",
}

Cloudflare ZeroTrust

The adapter’s configuration requires 2 fields:

Token

  • Log into your Cloudflare user and go here.
  • Click Create Token.
  • Click on Use Template on the right to Read all resources.
  • In the permissions list, change the following permissions to Edit:
    • Account - Rule Policies.
    • Account - Access: Apps and Policies.
    • Account - Zero Trust - Edit.
    • Zone - Access: Apps and Policies.
  • Click Continue to Summary and Create Token.
  • Copy the token.
3022

Account Id

  • Log into your Cloudflare user and go here.
  • Select your account.
  • Select any of your domains.
  • On the bottom right side you will see your account ID:
1667

Eventually, the integration JSON should look like this:

{
    "token": "xxxxxxx",
    "account_id": "xxxxxxx"
}