Skip to content

Cloudflare Accounts

1. Connector Overview

Cloudflare connectors store API credentials and manage the connection to Cloudflare accounts. Each connector must be validated before it can be used to manage DNS records.

Fields

  1. Name - Account name/identifier (required, tracked)
  2. API Key - Cloudflare API token for authentication (required, password field)
  3. State - Connector status: Draft, Confirmed, or Cancelled (tracked)
  4. Company - Company context for multi-company support

2. Connector Lifecycle

Draft → Confirmed → Cancelled
State Description
Draft Initial setup, API key editable
Confirmed API key validated against Cloudflare, ready for use
Cancelled Deactivated

3. Actions

Action From State Description
Confirm Server Draft Validates the API key via Cloudflare's verification endpoint, transitions to Confirmed
Reset to Draft Any Returns to editable Draft state
Cancel Any Deactivates the connector

API Validation

On confirmation, the system sends a request to https://api.cloudflare.com/client/v4/user/tokens/verify to validate the API key. If validation fails, an error message is posted to the chatter.