How can we help?

Cloudflare WARP Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Cloudflare WARP and syncs the Zero Trust users in your Cloudflare account, meaning the people who hold a WARP, Access, or Gateway seat. It does not sync the members of your Cloudflare dashboard. Those are synced by the separate Cloudflare integration.

User Fields License Types
Name, Email, Status Cloudflare WARP
  • Users who hold a seat have an active license. Users who do not hold a seat have no license and are shown as Inactive.
  • Cloudflare does not provide a last-used date or roles, so these fields are not synced.
  • Users without an email address are supported.
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

To connect this integration, we require the following:

Accounts & Permissions

  • A Cloudflare account that uses Zero Trust. Any Zero Trust plan works, including the Free plan.
  • A Cloudflare member who can create account API tokens (a Super Administrator, or a member with API Token Provisioning permissions).
  • An account API token with the following Account permissions, scoped to your account:
    • Access: Users Read (or Zero Trust Read) - to read the list of Zero Trust users and their seats.
    • Account Settings Read - to read the account name.
    • (Optional, for the Create User, Rename User, and Delete User actions) Access: Users Edit (or Zero Trust Edit).

Required keys

  • Account ID - the ID of your Cloudflare account.
  • API Token - the account API token described above.

How to Generate the Required Values

Step 1: Copy your Account ID

  1. Open the Cloudflare dashboard and go to Account home.
  2. Select Search (or press CMD/CTRL + K from any page).
  3. Enter Copy account ID and select the result to copy your Account ID.

Step 2: Create an API token

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Manage account > Account API tokens. Alternatively, go to My Profile > API Tokens to create a user token.
  3. Select Create Token, and enter a token name.
  4. Start from scratch (a custom token) and create a policy with the Account policy type. Select your account as the resource.
  5. Add the permissions listed in the Requirements section above.
  6. Select Continue to summary and review the details.
  7. Select Create Token.
  8. Copy the token.

Important
The token is shown only once. Copy it and store it securely before leaving the page.

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Cloudflare WARP and click Connect.
  3. Enter the Account ID and API Token.
  4. Click Connect.

Actions

  • Create User - creates a Zero Trust user with an email and an optional name. The user record is created, but Cloudflare assigns a seat based on your policies, not by this action.
  • Rename User - changes the name of a Zero Trust user. The email address cannot be changed.
  • Delete User - deletes a Zero Trust user and frees their seat. Deleting a user does not block them from signing in. If the user signs in again, they use a seat again. To prevent sign-in, also remove the user from your identity provider or from your device enrollment policies.

These actions require the write permission described in the Requirements section.



For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request