Skip to main content

Cloudflare/access

@swamp/cloudflare/accessv2026.08.15.1· 7d agoMODELS
01README

Cloudflare access infrastructure models

02Release Notes
  • Updated: portals
  • Updated: servers
  • Updated: custom_pages
  • Updated: service_tokens
03Models13
apps.tsv2026.08.11.2

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
allow_authenticate_via_warp?booleanWhen set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.
allow_iframe?booleanEnables loading application content in an iFrame.
allowed_idps?arrayThe identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account.
app_launcher_visible?booleanDisplays the application in the App Launcher.
auto_redirect_to_identity?booleanWhen set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.
cors_headers?object
custom_deny_message?stringThe custom error message shown to a user when they are denied access to the application.
custom_deny_url?stringThe custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.
custom_non_identity_deny_url?stringThe custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.
custom_pages?arrayThe custom pages that will be displayed when applicable for this application
destinations?arrayList of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.\n
domain?stringThe primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.
eager_redirect_cookie_setting?booleanPreemptively sets the Access session cookie on every hostname in a multi-hostname self-hosted application during the initial redirect chain, rather than setting it lazily on first visit. Defaults to true. Set to false to disable the eager redirect cookie behavior.
enable_binding_cookie?booleanEnables the binding cookie, which increases security against compromised authorization tokens and CSRF attacks.
http_only_cookie_attribute?booleanEnables the HttpOnly cookie attribute, which increases security against XSS attacks.
logo_url?stringThe image URL for the logo shown in the App Launcher dashboard.
mfa_config?objectConfigures multi-factor authentication (MFA) settings.
name?stringThe name of the application.
oauth_configuration?object**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.\n
options_preflight_bypass?booleanAllows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set.
path_cookie_attribute?booleanEnables cookie paths to scope an application's JWT to the application path. If disabled, the JWT will scope to the hostname by default
read_service_tokens_from_header?stringAllows matching Access Service Tokens passed HTTP in a single header with this name.\nThis works as an alternative to the (CF-Access-Client-Id, CF-Access-Client-Secret) pair of headers.\nThe header value will be interpreted as a json object similar to:\n {\n "cf-access-client-id": "88bf3b6d86161464f6509f7219099e57.access.example.com",\n "cf-access-client-secret": "bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5"\n }\n
same_site_cookie_attribute?stringSets the SameSite cookie setting, which provides increased security against CSRF attacks.
scim_config?objectConfiguration for provisioning to this application via SCIM. This is currently in closed beta.
self_hosted_domains?arrayList of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored.\n
service_auth_401_redirect?booleanReturns a 401 status code when the request is blocked by a Service Auth policy.
session_duration?stringThe amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. Note: unsupported for infrastructure type applications.
skip_interstitial?booleanEnables automatic authentication through cloudflared.
tags?arrayThe tags you want assigned to an application. Tags are used to filter applications in the App Launcher dashboard.
typestringThe application type.
use_clientless_isolation_app_launcher_url?booleanDetermines if users can access this application via a clientless browser isolation URL.\nThis allows users to access private domains without connecting to Gateway. The option requires\nClientless Browser Isolation to be set up with policies that allow users of this application.\n
policies?arrayThe policies that Access applies to the application, in ascending order of precedence. Items can reference existing policies or create new policies exclusive to the application. Reusable and inline policies are mutually exclusive.
saas_app?object
app_launcher_logo_url?stringThe image URL of the logo shown in the App Launcher header.
bg_color?stringThe background color of the App Launcher page.
footer_links?arrayThe links in the App Launcher footer.
header_bg_color?stringThe background color of the App Launcher header.
landing_page_design?objectThe design of the App Launcher landing page shown to users when they log in.
skip_app_launcher_login_page?booleanDetermines when to skip the App Launcher landing page.
target_criteria?array
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Apps
fn get(id: string)
Get a Apps
ArgumentTypeDescription
idstringThe ID of the Apps
fn lookup()
Look up an existing Apps by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Apps by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Apps to import
fn update(identifier?: string)
Update Apps attributes
ArgumentTypeDescription
identifier?stringTarget a specific Apps by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Apps
ArgumentTypeDescription
idstringThe ID of the Apps
fn sync(identifier?: string)
Sync Apps state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Apps by id (e.g. one discovered by list)
certificates.tsv2026.07.24.1

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
associated_hostnames?arrayThe hostnames of the applications that will use this certificate.
namestringThe name of the certificate.
certificatestringThe certificate content.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Certificates
fn get(id: string)
Get a Certificates
ArgumentTypeDescription
idstringThe ID of the Certificates
fn lookup()
Look up an existing Certificates by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Certificates by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Certificates to import
fn update(identifier?: string)
Update Certificates attributes
ArgumentTypeDescription
identifier?stringTarget a specific Certificates by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Certificates
ArgumentTypeDescription
idstringThe ID of the Certificates
fn sync(identifier?: string)
Sync Certificates state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Certificates by id (e.g. one discovered by list)
custom_pages.tsv2026.08.15.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
app_count?numberNumber of apps the custom page is assigned to.
contract_version?numberContract version of the page's Liquid template. Present (>= 1) marks a sanitized template; absent or 0 marks a legacy page served verbatim.
created_at?string
custom_htmlstringCustom page HTML.
namestringCustom page name.
typeenumCustom page type.
uid?stringUUID.
updated_at?string
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Custom Pages
fn get(id: string)
Get a Custom Pages
ArgumentTypeDescription
idstringThe ID of the Custom Pages
fn lookup()
Look up an existing Custom Pages by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Custom Pages by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Custom Pages to import
fn update(identifier?: string)
Update Custom Pages attributes
ArgumentTypeDescription
identifier?stringTarget a specific Custom Pages by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Custom Pages
ArgumentTypeDescription
idstringThe ID of the Custom Pages
fn sync(identifier?: string)
Sync Custom Pages state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Custom Pages by id (e.g. one discovered by list)
groups.tsv2026.08.11.1

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
exclude?arrayRules evaluated with a NOT logical operator. To match a policy, a user cannot meet any of the Exclude rules.
include?arrayRules evaluated with an OR logical operator. A user needs to meet only one of the Include rules.
is_default?booleanWhether this is the default group
namestringThe name of the Access group.
require?arrayRules evaluated with an AND logical operator. To match a policy, a user must meet all of the Require rules.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Groups
fn get(id: string)
Get a Groups
ArgumentTypeDescription
idstringThe ID of the Groups
fn lookup()
Look up an existing Groups by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Groups by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Groups to import
fn update(identifier?: string)
Update Groups attributes
ArgumentTypeDescription
identifier?stringTarget a specific Groups by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Groups
ArgumentTypeDescription
idstringThe ID of the Groups
fn sync(identifier?: string)
Sync Groups state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Groups by id (e.g. one discovered by list)
identity_providers.tsv2026.07.24.1

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
config?object
id?stringUUID.
namestringThe name of the identity provider, shown to users on the login page.
read_only?booleanIndicates that the identity provider is immutable and cannot be updated or deleted via the API.\n
saml_certificate_set?objectA SAML encryption certificate set containing current and optionally previous certificates for encryption key rotation.
saml_certificate_set_id?stringThe UID of the SAML encryption certificate set assigned to this Identity Provider.\nOnly present for SAML identity providers with encryption configured.\nCreate a certificate set via POST to `/identity_providers/{id}/saml_certificate`.\n
scim_config?objectThe configuration settings for enabling a System for Cross-Domain Identity Management (SCIM) with the identity provider.
typeenumThe type of identity provider. To determine the value for a specific provider, refer to our [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Identity Providers
fn get(id: string)
Get a Identity Providers
ArgumentTypeDescription
idstringThe ID of the Identity Providers
fn lookup()
Look up an existing Identity Providers by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Identity Providers by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Identity Providers to import
fn update(identifier?: string)
Update Identity Providers attributes
ArgumentTypeDescription
identifier?stringTarget a specific Identity Providers by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Identity Providers
ArgumentTypeDescription
idstringThe ID of the Identity Providers
fn sync(identifier?: string)
Sync Identity Providers state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Identity Providers by id (e.g. one discovered by list)
idp_federation_grants.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
idp_idstringUID of the identity provider to federate. Must be an existing identity provider in this account. One-time pin and Cloudflare-managed identity providers cannot be federated.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Idp Federation Grants
fn get(id: string)
Get a Idp Federation Grants
ArgumentTypeDescription
idstringThe ID of the Idp Federation Grants
fn lookup()
Look up an existing Idp Federation Grants by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Idp Federation Grants by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Idp Federation Grants to import
fn delete(id: string)
Delete the Idp Federation Grants
ArgumentTypeDescription
idstringThe ID of the Idp Federation Grants
fn sync(identifier?: string)
Sync Idp Federation Grants state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Idp Federation Grants by id (e.g. one discovered by list)
policies.tsv2026.08.11.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
decisionenumThe action Access will take if a user matches this policy. Infrastructure application policies can only use the Allow action.
exclude?arrayRules evaluated with a NOT logical operator. To match the policy, a user cannot meet any of the Exclude rules.
include?arrayRules evaluated with an OR logical operator. A user needs to meet only one of the Include rules.
namestringThe name of the Access policy.
require?arrayRules evaluated with an AND logical operator. To match the policy, a user must meet all of the Require rules.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Policies
fn get(id: string)
Get a Policies
ArgumentTypeDescription
idstringThe ID of the Policies
fn lookup()
Look up an existing Policies by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Policies by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Policies to import
fn update(identifier?: string)
Update Policies attributes
ArgumentTypeDescription
identifier?stringTarget a specific Policies by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Policies
ArgumentTypeDescription
idstringThe ID of the Policies
fn sync(identifier?: string)
Sync Policies state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Policies by id (e.g. one discovered by list)
policy-tests.tsv2026.08.11.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
policies?array
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Policy-tests
fn get(id: string)
Get a Policy-tests
ArgumentTypeDescription
idstringThe ID of the Policy-tests
fn lookup()
Look up an existing Policy-tests by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Policy-tests by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Policy-tests to import
fn sync(identifier?: string)
Sync Policy-tests state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Policy-tests by id (e.g. one discovered by list)
portals.tsv2026.08.15.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
allow_code_mode?booleanDeprecated: use `code_mode` for new integrations. `true` maps to any non-off Code Mode policy; `false` maps to `code_mode: off`. If both fields are sent, they must be consistent or the request returns a 400.
code_mode?enumCode Mode policy for this portal. `off`: Code Mode is unavailable; query parameters are ignored. `opt_in`: Code Mode is off by default; clients turn it on with `?codemode=search_and_execute`. `default_on`: Code Mode is on by default; clients can opt out with `?codemode=off`. `enforced`: Code Mode is always on; query parameters are ignored. Defaults to `opt_in` when omitted on create. If both `code_mode` and `allow_code_mode` are sent, they must be consistent or the request returns a 400.
description?stringOptional description of the MCP portal.
hostnamestringHostname where the MCP portal is available.
namestringDisplay name for the MCP portal.
secure_web_gateway?booleanRoute outbound MCP traffic through Zero Trust Secure Web Gateway.
servers?arrayMCP servers attached to the portal and their portal-specific settings.
idstringUnique identifier for the MCP portal.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Portals
fn get(id: string)
Get a Portals
ArgumentTypeDescription
idstringThe ID of the Portals
fn lookup()
Look up an existing Portals by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Portals by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Portals to import
fn update(identifier?: string)
Update Portals attributes
ArgumentTypeDescription
identifier?stringTarget a specific Portals by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Portals
ArgumentTypeDescription
idstringThe ID of the Portals
fn sync(identifier?: string)
Sync Portals state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Portals by id (e.g. one discovered by list)
servers.tsv2026.08.15.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
auth_credentials?stringStatic credential for the upstream MCP server. For auth_type "bearer", either a raw token string (e.g. "sk-abc123"), which is wrapped server-side as `Authorization: Bearer <token>`, or a JSON-encoded object of the form `{"headers":{"Header-Name":"value",...}}` for custom or multiple static headers (e.g. Cloudflare Access service tokens: `{"headers":{"cf-access-client-id":"...","cf-access-client-secret":"..."}}`).
client_secret?stringPre-registered OAuth client_secret. Write-only - accepted on create/update when auth_credentials.auth_mode is 'manual'. Stored AES-GCM-encrypted in server_oauth_secrets; never returned by read endpoints.
description?stringOptional description of the MCP server.
is_shared_oauth_callback_enabled?booleanWhen true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirect_uri for upstream on-behalf OAuth, instead of the customer portal hostname. Defaults to false (off); opt in per server by setting true.
namestringDisplay name for the MCP server.
secure_web_gateway?booleanRoute outbound traffic to this MCP server through Zero Trust Secure Web Gateway.
updated_prompts?arrayServer-wide prompt capability overrides.
updated_tools?arrayServer-wide tool capability overrides.
auth_typeenumAuthentication method used to connect to the upstream MCP server.
hostnamestringURL of the upstream MCP endpoint.
idstringUnique identifier for the MCP server.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Servers
fn get(id: string)
Get a Servers
ArgumentTypeDescription
idstringThe ID of the Servers
fn lookup()
Look up an existing Servers by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Servers by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Servers to import
fn update(identifier?: string)
Update Servers attributes
ArgumentTypeDescription
identifier?stringTarget a specific Servers by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Servers
ArgumentTypeDescription
idstringThe ID of the Servers
fn sync(identifier?: string)
Sync Servers state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Servers by id (e.g. one discovered by list)
service_tokens.tsv2026.08.15.1

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
client_secret_version?numberA version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`.
duration?stringThe duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).
enabled?booleanWhether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled at any time. Defaults to enabled when omitted on create.
namestringThe name of the service token.
previous_client_secret_expires_at?stringThe expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Service Tokens
fn get(id: string)
Get a Service Tokens
ArgumentTypeDescription
idstringThe ID of the Service Tokens
fn lookup()
Look up an existing Service Tokens by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Service Tokens by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Service Tokens to import
fn update(identifier?: string)
Update Service Tokens attributes
ArgumentTypeDescription
identifier?stringTarget a specific Service Tokens by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Service Tokens
ArgumentTypeDescription
idstringThe ID of the Service Tokens
fn sync(identifier?: string)
Sync Service Tokens state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Service Tokens by id (e.g. one discovered by list)
tags.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
created_at?string
name?stringThe name of the tag
updated_at?string
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
apiKey?stringCloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email.
email?stringCloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey.
fn create()
Create a Tags
fn get(id: string)
Get a Tags
ArgumentTypeDescription
idstringThe ID of the Tags
fn lookup()
Look up an existing Tags by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Tags by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Tags to import
fn update(identifier?: string)
Update Tags attributes
ArgumentTypeDescription
identifier?stringTarget a specific Tags by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Tags
ArgumentTypeDescription
idstringThe ID of the Tags
fn sync(identifier?: string)
Sync Tags state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Tags by id (e.g. one discovered by list)
users.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
emailstringThe email of the user.
name?stringThe name of the user.
apiToken?stringCloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Users
fn get(id: string)
Get a Users
ArgumentTypeDescription
idstringThe ID of the Users
fn lookup()
Look up an existing Users by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Users by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Users to import
fn update(identifier?: string)
Update Users attributes
ArgumentTypeDescription
identifier?stringTarget a specific Users by id (e.g. one discovered by list)
fn delete(id: string)
Delete the Users
ArgumentTypeDescription
idstringThe ID of the Users
fn sync(identifier?: string)
Sync Users state from Cloudflare
ArgumentTypeDescription
identifier?stringTarget a specific Users by id (e.g. one discovered by list)
04Previous Versions12
2026.08.11.2
  • Updated: apps
  • Updated: groups
  • Updated: policies
  • Updated: policy-tests
2026.08.07.1
  • Updated: portals
  • Updated: servers
2026.08.06.1
  • Updated: portals
2026.08.02.1
  • Updated: portals
  • Updated: servers
2026.07.24.1
  • Updated: apps
  • Updated: certificates
  • Updated: groups
  • Updated: identity_providers
  • Updated: service_tokens
2026.07.21.1
  • Updated: portals
  • Updated: servers
  • Updated: apps
  • Updated: certificates
  • Updated: custom_pages
  • Updated: groups
  • Updated: identity_providers
  • Updated: idp_federation_grants
  • Updated: policies
  • Updated: policy-tests
  • Updated: service_tokens
  • Updated: tags
  • Updated: users
2026.07.18.2

Modified 1 models

2026.07.14.1
  • Updated: portals
2026.06.24.1
  • Updated: portals
  • Updated: servers
  • Updated: apps
2026.06.08.2
  • Updated: portals
  • Updated: servers
  • Updated: apps
  • Updated: certificates
  • Updated: custom_pages
  • Updated: groups
  • Updated: identity_providers
  • Updated: idp_federation_grants
  • Updated: policies
  • Updated: policy-tests
  • Updated: service_tokens
  • Updated: tags
  • Updated: users
2026.05.29.1
  • Updated: portals
  • Updated: servers
  • Updated: apps
  • Updated: certificates
  • Updated: custom_pages
  • Updated: groups
  • Updated: identity_providers
  • Updated: policies
  • Updated: policy-tests
  • Updated: service_tokens
  • Updated: tags
  • Updated: users
2026.05.22.1
  • Added: portals
  • Added: servers
  • Added: apps
  • Added: certificates
  • Added: custom_pages
  • Added: groups
  • Added: identity_providers
  • Added: policies
  • Added: policy-tests
  • Added: service_tokens
  • Added: tags
  • Added: users
05Stats
A
100 / 100
Downloads
7
Archive size
91.8 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels