1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. CustomCsr
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi

    Accepted Permissions

    • Account: SSL and Certificates Read
    • Account: SSL and Certificates Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleCustomCsr = new cloudflare.CustomCsr("example_custom_csr", {
        commonName: "example.com",
        country: "US",
        locality: "San Francisco",
        organization: "Cloudflare, Inc.",
        sans: [
            "example.com",
            "www.example.com",
        ],
        state: "California",
        zoneId: "zone_id",
        description: "CSR for example.com wildcard",
        keyType: "rsa2048",
        name: "My Custom CSR",
        organizationalUnit: "Engineering",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_custom_csr = cloudflare.CustomCsr("example_custom_csr",
        common_name="example.com",
        country="US",
        locality="San Francisco",
        organization="Cloudflare, Inc.",
        sans=[
            "example.com",
            "www.example.com",
        ],
        state="California",
        zone_id="zone_id",
        description="CSR for example.com wildcard",
        key_type="rsa2048",
        name="My Custom CSR",
        organizational_unit="Engineering")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewCustomCsr(ctx, "example_custom_csr", &cloudflare.CustomCsrArgs{
    			CommonName:   pulumi.String("example.com"),
    			Country:      pulumi.String("US"),
    			Locality:     pulumi.String("San Francisco"),
    			Organization: pulumi.String("Cloudflare, Inc."),
    			Sans: pulumi.StringArray{
    				pulumi.String("example.com"),
    				pulumi.String("www.example.com"),
    			},
    			State:              pulumi.String("California"),
    			ZoneId:             pulumi.String("zone_id"),
    			Description:        pulumi.String("CSR for example.com wildcard"),
    			KeyType:            pulumi.String("rsa2048"),
    			Name:               pulumi.String("My Custom CSR"),
    			OrganizationalUnit: pulumi.String("Engineering"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCustomCsr = new Cloudflare.CustomCsr("example_custom_csr", new()
        {
            CommonName = "example.com",
            Country = "US",
            Locality = "San Francisco",
            Organization = "Cloudflare, Inc.",
            Sans = new[]
            {
                "example.com",
                "www.example.com",
            },
            State = "California",
            ZoneId = "zone_id",
            Description = "CSR for example.com wildcard",
            KeyType = "rsa2048",
            Name = "My Custom CSR",
            OrganizationalUnit = "Engineering",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CustomCsr;
    import com.pulumi.cloudflare.CustomCsrArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleCustomCsr = new CustomCsr("exampleCustomCsr", CustomCsrArgs.builder()
                .commonName("example.com")
                .country("US")
                .locality("San Francisco")
                .organization("Cloudflare, Inc.")
                .sans(            
                    "example.com",
                    "www.example.com")
                .state("California")
                .zoneId("zone_id")
                .description("CSR for example.com wildcard")
                .keyType("rsa2048")
                .name("My Custom CSR")
                .organizationalUnit("Engineering")
                .build());
    
        }
    }
    
    resources:
      exampleCustomCsr:
        type: cloudflare:CustomCsr
        name: example_custom_csr
        properties:
          commonName: example.com
          country: US
          locality: San Francisco
          organization: Cloudflare, Inc.
          sans:
            - example.com
            - www.example.com
          state: California
          zoneId: zone_id
          description: CSR for example.com wildcard
          keyType: rsa2048
          name: My Custom CSR
          organizationalUnit: Engineering
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    resource "cloudflare_customcsr" "example_custom_csr" {
      common_name         = "example.com"
      country             = "US"
      locality            = "San Francisco"
      organization        = "Cloudflare, Inc."
      sans                = ["example.com", "www.example.com"]
      state               = "California"
      zone_id             = "zone_id"
      description         = "CSR for example.com wildcard"
      key_type            = "rsa2048"
      name                = "My Custom CSR"
      organizational_unit = "Engineering"
    }
    

    Create CustomCsr Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CustomCsr(name: string, args: CustomCsrArgs, opts?: CustomResourceOptions);
    @overload
    def CustomCsr(resource_name: str,
                  args: CustomCsrArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomCsr(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  common_name: Optional[str] = None,
                  country: Optional[str] = None,
                  locality: Optional[str] = None,
                  organization: Optional[str] = None,
                  sans: Optional[Sequence[str]] = None,
                  state: Optional[str] = None,
                  account_id: Optional[str] = None,
                  description: Optional[str] = None,
                  key_type: Optional[str] = None,
                  name: Optional[str] = None,
                  organizational_unit: Optional[str] = None,
                  zone_id: Optional[str] = None)
    func NewCustomCsr(ctx *Context, name string, args CustomCsrArgs, opts ...ResourceOption) (*CustomCsr, error)
    public CustomCsr(string name, CustomCsrArgs args, CustomResourceOptions? opts = null)
    public CustomCsr(String name, CustomCsrArgs args)
    public CustomCsr(String name, CustomCsrArgs args, CustomResourceOptions options)
    
    type: cloudflare:CustomCsr
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "cloudflare_custom_csr" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CustomCsrArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CustomCsrArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CustomCsrArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CustomCsrArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CustomCsrArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var customCsrResource = new Cloudflare.CustomCsr("customCsrResource", new()
    {
        CommonName = "string",
        Country = "string",
        Locality = "string",
        Organization = "string",
        Sans = new[]
        {
            "string",
        },
        State = "string",
        AccountId = "string",
        Description = "string",
        KeyType = "string",
        Name = "string",
        OrganizationalUnit = "string",
        ZoneId = "string",
    });
    
    example, err := cloudflare.NewCustomCsr(ctx, "customCsrResource", &cloudflare.CustomCsrArgs{
    	CommonName:   pulumi.String("string"),
    	Country:      pulumi.String("string"),
    	Locality:     pulumi.String("string"),
    	Organization: pulumi.String("string"),
    	Sans: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	State:              pulumi.String("string"),
    	AccountId:          pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	KeyType:            pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	OrganizationalUnit: pulumi.String("string"),
    	ZoneId:             pulumi.String("string"),
    })
    
    resource "cloudflare_custom_csr" "customCsrResource" {
      lifecycle {
        create_before_destroy = true
      }
      common_name         = "string"
      country             = "string"
      locality            = "string"
      organization        = "string"
      sans                = ["string"]
      state               = "string"
      account_id          = "string"
      description         = "string"
      key_type            = "string"
      name                = "string"
      organizational_unit = "string"
      zone_id             = "string"
    }
    
    var customCsrResource = new CustomCsr("customCsrResource", CustomCsrArgs.builder()
        .commonName("string")
        .country("string")
        .locality("string")
        .organization("string")
        .sans("string")
        .state("string")
        .accountId("string")
        .description("string")
        .keyType("string")
        .name("string")
        .organizationalUnit("string")
        .zoneId("string")
        .build());
    
    custom_csr_resource = cloudflare.CustomCsr("customCsrResource",
        common_name="string",
        country="string",
        locality="string",
        organization="string",
        sans=["string"],
        state="string",
        account_id="string",
        description="string",
        key_type="string",
        name="string",
        organizational_unit="string",
        zone_id="string")
    
    const customCsrResource = new cloudflare.CustomCsr("customCsrResource", {
        commonName: "string",
        country: "string",
        locality: "string",
        organization: "string",
        sans: ["string"],
        state: "string",
        accountId: "string",
        description: "string",
        keyType: "string",
        name: "string",
        organizationalUnit: "string",
        zoneId: "string",
    });
    
    type: cloudflare:CustomCsr
    properties:
        accountId: string
        commonName: string
        country: string
        description: string
        keyType: string
        locality: string
        name: string
        organization: string
        organizationalUnit: string
        sans:
            - string
        state: string
        zoneId: string
    

    CustomCsr Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CustomCsr resource accepts the following input properties:

    CommonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    Country string
    Two-letter ISO 3166-1 alpha-2 country code.
    Locality string
    City or locality name.
    Organization string
    Organization name.
    Sans List<string>
    Subject Alternative Names for the CSR. At least one SAN is required.
    State string
    State or province name.
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    Description string
    Optional description for the CSR.
    KeyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    Name string
    Human-readable name for the CSR.
    OrganizationalUnit string
    Organizational unit name.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    CommonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    Country string
    Two-letter ISO 3166-1 alpha-2 country code.
    Locality string
    City or locality name.
    Organization string
    Organization name.
    Sans []string
    Subject Alternative Names for the CSR. At least one SAN is required.
    State string
    State or province name.
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    Description string
    Optional description for the CSR.
    KeyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    Name string
    Human-readable name for the CSR.
    OrganizationalUnit string
    Organizational unit name.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    common_name string
    The common name (domain) for the CSR. Must be at most 64 characters.
    country string
    Two-letter ISO 3166-1 alpha-2 country code.
    locality string
    City or locality name.
    organization string
    Organization name.
    sans list(string)
    Subject Alternative Names for the CSR. At least one SAN is required.
    state string
    State or province name.
    account_id string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    description string
    Optional description for the CSR.
    key_type string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    name string
    Human-readable name for the CSR.
    organizational_unit string
    Organizational unit name.
    zone_id string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    commonName String
    The common name (domain) for the CSR. Must be at most 64 characters.
    country String
    Two-letter ISO 3166-1 alpha-2 country code.
    locality String
    City or locality name.
    organization String
    Organization name.
    sans List<String>
    Subject Alternative Names for the CSR. At least one SAN is required.
    state String
    State or province name.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    description String
    Optional description for the CSR.
    keyType String
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    name String
    Human-readable name for the CSR.
    organizationalUnit String
    Organizational unit name.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    commonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    country string
    Two-letter ISO 3166-1 alpha-2 country code.
    locality string
    City or locality name.
    organization string
    Organization name.
    sans string[]
    Subject Alternative Names for the CSR. At least one SAN is required.
    state string
    State or province name.
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    description string
    Optional description for the CSR.
    keyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    name string
    Human-readable name for the CSR.
    organizationalUnit string
    Organizational unit name.
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    common_name str
    The common name (domain) for the CSR. Must be at most 64 characters.
    country str
    Two-letter ISO 3166-1 alpha-2 country code.
    locality str
    City or locality name.
    organization str
    Organization name.
    sans Sequence[str]
    Subject Alternative Names for the CSR. At least one SAN is required.
    state str
    State or province name.
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    description str
    Optional description for the CSR.
    key_type str
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    name str
    Human-readable name for the CSR.
    organizational_unit str
    Organizational unit name.
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    commonName String
    The common name (domain) for the CSR. Must be at most 64 characters.
    country String
    Two-letter ISO 3166-1 alpha-2 country code.
    locality String
    City or locality name.
    organization String
    Organization name.
    sans List<String>
    Subject Alternative Names for the CSR. At least one SAN is required.
    state String
    State or province name.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    description String
    Optional description for the CSR.
    keyType String
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    name String
    Human-readable name for the CSR.
    organizationalUnit String
    Organizational unit name.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CustomCsr resource produces the following output properties:

    AccountTag string
    Account identifier associated with this CSR.
    CreatedAt string
    When the CSR was created.
    Csr string
    The PEM-encoded Certificate Signing Request.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccountTag string
    Account identifier associated with this CSR.
    CreatedAt string
    When the CSR was created.
    Csr string
    The PEM-encoded Certificate Signing Request.
    Id string
    The provider-assigned unique ID for this managed resource.
    account_tag string
    Account identifier associated with this CSR.
    created_at string
    When the CSR was created.
    csr string
    The PEM-encoded Certificate Signing Request.
    id string
    The provider-assigned unique ID for this managed resource.
    accountTag String
    Account identifier associated with this CSR.
    createdAt String
    When the CSR was created.
    csr String
    The PEM-encoded Certificate Signing Request.
    id String
    The provider-assigned unique ID for this managed resource.
    accountTag string
    Account identifier associated with this CSR.
    createdAt string
    When the CSR was created.
    csr string
    The PEM-encoded Certificate Signing Request.
    id string
    The provider-assigned unique ID for this managed resource.
    account_tag str
    Account identifier associated with this CSR.
    created_at str
    When the CSR was created.
    csr str
    The PEM-encoded Certificate Signing Request.
    id str
    The provider-assigned unique ID for this managed resource.
    accountTag String
    Account identifier associated with this CSR.
    createdAt String
    When the CSR was created.
    csr String
    The PEM-encoded Certificate Signing Request.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CustomCsr Resource

    Get an existing CustomCsr resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CustomCsrState, opts?: CustomResourceOptions): CustomCsr
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            account_tag: Optional[str] = None,
            common_name: Optional[str] = None,
            country: Optional[str] = None,
            created_at: Optional[str] = None,
            csr: Optional[str] = None,
            description: Optional[str] = None,
            key_type: Optional[str] = None,
            locality: Optional[str] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            organizational_unit: Optional[str] = None,
            sans: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            zone_id: Optional[str] = None) -> CustomCsr
    func GetCustomCsr(ctx *Context, name string, id IDInput, state *CustomCsrState, opts ...ResourceOption) (*CustomCsr, error)
    public static CustomCsr Get(string name, Input<string> id, CustomCsrState? state, CustomResourceOptions? opts = null)
    public static CustomCsr get(String name, Output<String> id, CustomCsrState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:CustomCsr    get:      id: ${id}
    import {
      to = cloudflare_custom_csr.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    AccountTag string
    Account identifier associated with this CSR.
    CommonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    Country string
    Two-letter ISO 3166-1 alpha-2 country code.
    CreatedAt string
    When the CSR was created.
    Csr string
    The PEM-encoded Certificate Signing Request.
    Description string
    Optional description for the CSR.
    KeyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    Locality string
    City or locality name.
    Name string
    Human-readable name for the CSR.
    Organization string
    Organization name.
    OrganizationalUnit string
    Organizational unit name.
    Sans List<string>
    Subject Alternative Names for the CSR. At least one SAN is required.
    State string
    State or province name.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    AccountTag string
    Account identifier associated with this CSR.
    CommonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    Country string
    Two-letter ISO 3166-1 alpha-2 country code.
    CreatedAt string
    When the CSR was created.
    Csr string
    The PEM-encoded Certificate Signing Request.
    Description string
    Optional description for the CSR.
    KeyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    Locality string
    City or locality name.
    Name string
    Human-readable name for the CSR.
    Organization string
    Organization name.
    OrganizationalUnit string
    Organizational unit name.
    Sans []string
    Subject Alternative Names for the CSR. At least one SAN is required.
    State string
    State or province name.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    account_id string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    account_tag string
    Account identifier associated with this CSR.
    common_name string
    The common name (domain) for the CSR. Must be at most 64 characters.
    country string
    Two-letter ISO 3166-1 alpha-2 country code.
    created_at string
    When the CSR was created.
    csr string
    The PEM-encoded Certificate Signing Request.
    description string
    Optional description for the CSR.
    key_type string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    locality string
    City or locality name.
    name string
    Human-readable name for the CSR.
    organization string
    Organization name.
    organizational_unit string
    Organizational unit name.
    sans list(string)
    Subject Alternative Names for the CSR. At least one SAN is required.
    state string
    State or province name.
    zone_id string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    accountTag String
    Account identifier associated with this CSR.
    commonName String
    The common name (domain) for the CSR. Must be at most 64 characters.
    country String
    Two-letter ISO 3166-1 alpha-2 country code.
    createdAt String
    When the CSR was created.
    csr String
    The PEM-encoded Certificate Signing Request.
    description String
    Optional description for the CSR.
    keyType String
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    locality String
    City or locality name.
    name String
    Human-readable name for the CSR.
    organization String
    Organization name.
    organizationalUnit String
    Organizational unit name.
    sans List<String>
    Subject Alternative Names for the CSR. At least one SAN is required.
    state String
    State or province name.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    accountTag string
    Account identifier associated with this CSR.
    commonName string
    The common name (domain) for the CSR. Must be at most 64 characters.
    country string
    Two-letter ISO 3166-1 alpha-2 country code.
    createdAt string
    When the CSR was created.
    csr string
    The PEM-encoded Certificate Signing Request.
    description string
    Optional description for the CSR.
    keyType string
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    locality string
    City or locality name.
    name string
    Human-readable name for the CSR.
    organization string
    Organization name.
    organizationalUnit string
    Organizational unit name.
    sans string[]
    Subject Alternative Names for the CSR. At least one SAN is required.
    state string
    State or province name.
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    account_tag str
    Account identifier associated with this CSR.
    common_name str
    The common name (domain) for the CSR. Must be at most 64 characters.
    country str
    Two-letter ISO 3166-1 alpha-2 country code.
    created_at str
    When the CSR was created.
    csr str
    The PEM-encoded Certificate Signing Request.
    description str
    Optional description for the CSR.
    key_type str
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    locality str
    City or locality name.
    name str
    Human-readable name for the CSR.
    organization str
    Organization name.
    organizational_unit str
    Organizational unit name.
    sans Sequence[str]
    Subject Alternative Names for the CSR. At least one SAN is required.
    state str
    State or province name.
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    accountTag String
    Account identifier associated with this CSR.
    commonName String
    The common name (domain) for the CSR. Must be at most 64 characters.
    country String
    Two-letter ISO 3166-1 alpha-2 country code.
    createdAt String
    When the CSR was created.
    csr String
    The PEM-encoded Certificate Signing Request.
    description String
    Optional description for the CSR.
    keyType String
    Key algorithm to use for the CSR. Defaults to rsa2048 if not specified. Available values: "rsa2048", "p256v1".
    locality String
    City or locality name.
    name String
    Human-readable name for the CSR.
    organization String
    Organization name.
    organizationalUnit String
    Organizational unit name.
    sans List<String>
    Subject Alternative Names for the CSR. At least one SAN is required.
    state String
    State or province name.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    Import

    $ pulumi import cloudflare:index/customCsr:CustomCsr example '<{accounts|zones}/{account_id|zone_id}>/<custom_csr_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.18.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial