Skip to main content

Cloudflare/mtls Certificates

@swamp/cloudflare/mtls-certificatesv2026.05.29.1· 5d agoMODELS
01README

Cloudflare mtls-certificates infrastructure models

02Release Notes
  • Updated: mtls_certificates
03Models1
@swamp/cloudflare/mtls-certificates/mtls-certificatesv2026.05.29.1mtls_certificates.ts

Global Arguments

ArgumentTypeDescription
account_idstringCloudflare account ID
cabooleanIndicates whether the certificate is a CA or leaf certificate.
certificatesstringThe uploaded root CA certificate.
name?stringOptional unique name for the certificate. Only used for human readability.
private_key?stringThe private key for the certificate. This field is only needed for specific use cases such as using a custom certificate with Zero Trust's block page.
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 Mtls Certificates
fn get(id: string)
Get a Mtls Certificates
ArgumentTypeDescription
idstringThe ID of the Mtls Certificates
fn delete(id: string)
Delete the Mtls Certificates
ArgumentTypeDescription
idstringThe ID of the Mtls Certificates
fn sync()
Sync Mtls Certificates state from Cloudflare

Resources

state(infinite)— Mtls Certificates resource state
04Previous Versions1
2026.05.22.1May 22, 2026
  • Added: mtls_certificates
05Stats
A
100 / 100
Downloads
0
Archive size
8.5 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 types1/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