1. Packages
  2. Auth0 Provider
  3. API Docs
  4. CustomDomain
Auth0 v3.24.0 published on Saturday, Aug 2, 2025 by Pulumi

auth0.CustomDomain

Explore with Pulumi AI

auth0 logo
Auth0 v3.24.0 published on Saturday, Aug 2, 2025 by Pulumi

    With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and manage a custom domain within your Auth0 tenant.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    const myCustomDomain = new auth0.CustomDomain("my_custom_domain", {
        domain: "auth.example.com",
        type: "auth0_managed_certs",
        tlsPolicy: "recommended",
        domainMetadata: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    my_custom_domain = auth0.CustomDomain("my_custom_domain",
        domain="auth.example.com",
        type="auth0_managed_certs",
        tls_policy="recommended",
        domain_metadata={
            "key1": "value1",
            "key2": "value2",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := auth0.NewCustomDomain(ctx, "my_custom_domain", &auth0.CustomDomainArgs{
    			Domain:    pulumi.String("auth.example.com"),
    			Type:      pulumi.String("auth0_managed_certs"),
    			TlsPolicy: pulumi.String("recommended"),
    			DomainMetadata: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    				"key2": pulumi.String("value2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        var myCustomDomain = new Auth0.CustomDomain("my_custom_domain", new()
        {
            Domain = "auth.example.com",
            Type = "auth0_managed_certs",
            TlsPolicy = "recommended",
            DomainMetadata = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.auth0.CustomDomain;
    import com.pulumi.auth0.CustomDomainArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 myCustomDomain = new CustomDomain("myCustomDomain", CustomDomainArgs.builder()
                .domain("auth.example.com")
                .type("auth0_managed_certs")
                .tlsPolicy("recommended")
                .domainMetadata(Map.ofEntries(
                    Map.entry("key1", "value1"),
                    Map.entry("key2", "value2")
                ))
                .build());
    
        }
    }
    
    resources:
      myCustomDomain:
        type: auth0:CustomDomain
        name: my_custom_domain
        properties:
          domain: auth.example.com
          type: auth0_managed_certs
          tlsPolicy: recommended
          domainMetadata:
            key1: value1
            key2: value2
    

    Create CustomDomain Resource

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

    Constructor syntax

    new CustomDomain(name: string, args: CustomDomainArgs, opts?: CustomResourceOptions);
    @overload
    def CustomDomain(resource_name: str,
                     args: CustomDomainArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomDomain(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     domain: Optional[str] = None,
                     type: Optional[str] = None,
                     custom_client_ip_header: Optional[str] = None,
                     domain_metadata: Optional[Mapping[str, str]] = None,
                     tls_policy: Optional[str] = None)
    func NewCustomDomain(ctx *Context, name string, args CustomDomainArgs, opts ...ResourceOption) (*CustomDomain, error)
    public CustomDomain(string name, CustomDomainArgs args, CustomResourceOptions? opts = null)
    public CustomDomain(String name, CustomDomainArgs args)
    public CustomDomain(String name, CustomDomainArgs args, CustomResourceOptions options)
    
    type: auth0:CustomDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CustomDomainArgs
    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 CustomDomainArgs
    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 CustomDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CustomDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CustomDomainArgs
    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 customDomainResource = new Auth0.CustomDomain("customDomainResource", new()
    {
        Domain = "string",
        Type = "string",
        CustomClientIpHeader = "string",
        DomainMetadata = 
        {
            { "string", "string" },
        },
        TlsPolicy = "string",
    });
    
    example, err := auth0.NewCustomDomain(ctx, "customDomainResource", &auth0.CustomDomainArgs{
    	Domain:               pulumi.String("string"),
    	Type:                 pulumi.String("string"),
    	CustomClientIpHeader: pulumi.String("string"),
    	DomainMetadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TlsPolicy: pulumi.String("string"),
    })
    
    var customDomainResource = new CustomDomain("customDomainResource", CustomDomainArgs.builder()
        .domain("string")
        .type("string")
        .customClientIpHeader("string")
        .domainMetadata(Map.of("string", "string"))
        .tlsPolicy("string")
        .build());
    
    custom_domain_resource = auth0.CustomDomain("customDomainResource",
        domain="string",
        type="string",
        custom_client_ip_header="string",
        domain_metadata={
            "string": "string",
        },
        tls_policy="string")
    
    const customDomainResource = new auth0.CustomDomain("customDomainResource", {
        domain: "string",
        type: "string",
        customClientIpHeader: "string",
        domainMetadata: {
            string: "string",
        },
        tlsPolicy: "string",
    });
    
    type: auth0:CustomDomain
    properties:
        customClientIpHeader: string
        domain: string
        domainMetadata:
            string: string
        tlsPolicy: string
        type: string
    

    CustomDomain 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 CustomDomain resource accepts the following input properties:

    Domain string
    Name of the custom domain.
    Type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    CustomClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    DomainMetadata Dictionary<string, string>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    TlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    Domain string
    Name of the custom domain.
    Type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    CustomClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    DomainMetadata map[string]string
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    TlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    domain String
    Name of the custom domain.
    type String
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    customClientIpHeader String
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domainMetadata Map<String,String>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    tlsPolicy String
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    domain string
    Name of the custom domain.
    type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    customClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domainMetadata {[key: string]: string}
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    tlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    domain str
    Name of the custom domain.
    type str
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    custom_client_ip_header str
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domain_metadata Mapping[str, str]
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    tls_policy str
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    domain String
    Name of the custom domain.
    type String
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    customClientIpHeader String
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domainMetadata Map<String>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    tlsPolicy String
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.

    Outputs

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

    Certificates List<CustomDomainCertificate>
    The Custom Domain certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    Primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    Status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    Verifications List<CustomDomainVerification>
    Configuration settings for verification.
    Certificates []CustomDomainCertificate
    The Custom Domain certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    Primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    Status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    Verifications []CustomDomainVerificationType
    Configuration settings for verification.
    certificates List<CustomDomainCertificate>
    The Custom Domain certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    originDomainName String
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary Boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status String
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    verifications List<CustomDomainVerification>
    Configuration settings for verification.
    certificates CustomDomainCertificate[]
    The Custom Domain certificate.
    id string
    The provider-assigned unique ID for this managed resource.
    originDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    verifications CustomDomainVerification[]
    Configuration settings for verification.
    certificates Sequence[CustomDomainCertificate]
    The Custom Domain certificate.
    id str
    The provider-assigned unique ID for this managed resource.
    origin_domain_name str
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status str
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    verifications Sequence[CustomDomainVerification]
    Configuration settings for verification.
    certificates List<Property Map>
    The Custom Domain certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    originDomainName String
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary Boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status String
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    verifications List<Property Map>
    Configuration settings for verification.

    Look up Existing CustomDomain Resource

    Get an existing CustomDomain 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?: CustomDomainState, opts?: CustomResourceOptions): CustomDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificates: Optional[Sequence[CustomDomainCertificateArgs]] = None,
            custom_client_ip_header: Optional[str] = None,
            domain: Optional[str] = None,
            domain_metadata: Optional[Mapping[str, str]] = None,
            origin_domain_name: Optional[str] = None,
            primary: Optional[bool] = None,
            status: Optional[str] = None,
            tls_policy: Optional[str] = None,
            type: Optional[str] = None,
            verifications: Optional[Sequence[CustomDomainVerificationArgs]] = None) -> CustomDomain
    func GetCustomDomain(ctx *Context, name string, id IDInput, state *CustomDomainState, opts ...ResourceOption) (*CustomDomain, error)
    public static CustomDomain Get(string name, Input<string> id, CustomDomainState? state, CustomResourceOptions? opts = null)
    public static CustomDomain get(String name, Output<String> id, CustomDomainState state, CustomResourceOptions options)
    resources:  _:    type: auth0:CustomDomain    get:      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:
    Certificates List<CustomDomainCertificate>
    The Custom Domain certificate.
    CustomClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    Domain string
    Name of the custom domain.
    DomainMetadata Dictionary<string, string>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    OriginDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    Primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    Status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    TlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    Type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    Verifications List<CustomDomainVerification>
    Configuration settings for verification.
    Certificates []CustomDomainCertificateArgs
    The Custom Domain certificate.
    CustomClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    Domain string
    Name of the custom domain.
    DomainMetadata map[string]string
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    OriginDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    Primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    Status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    TlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    Type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    Verifications []CustomDomainVerificationTypeArgs
    Configuration settings for verification.
    certificates List<CustomDomainCertificate>
    The Custom Domain certificate.
    customClientIpHeader String
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domain String
    Name of the custom domain.
    domainMetadata Map<String,String>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    originDomainName String
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary Boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status String
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    tlsPolicy String
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    type String
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    verifications List<CustomDomainVerification>
    Configuration settings for verification.
    certificates CustomDomainCertificate[]
    The Custom Domain certificate.
    customClientIpHeader string
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domain string
    Name of the custom domain.
    domainMetadata {[key: string]: string}
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    originDomainName string
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status string
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    tlsPolicy string
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    type string
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    verifications CustomDomainVerification[]
    Configuration settings for verification.
    certificates Sequence[CustomDomainCertificateArgs]
    The Custom Domain certificate.
    custom_client_ip_header str
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domain str
    Name of the custom domain.
    domain_metadata Mapping[str, str]
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    origin_domain_name str
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary bool
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status str
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    tls_policy str
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    type str
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    verifications Sequence[CustomDomainVerificationArgs]
    Configuration settings for verification.
    certificates List<Property Map>
    The Custom Domain certificate.
    customClientIpHeader String
    The HTTP header to fetch the client's IP address. Cannot be set on auth0_managed domains.
    domain String
    Name of the custom domain.
    domainMetadata Map<String>
    Metadata associated with the Custom Domain. Maximum of 10 metadata properties allowed.
    originDomainName String
    Once the configuration status is ready, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
    primary Boolean
    Indicates whether this is a primary domain.

    Deprecated: Primary field is no longer used and will be removed in a future release.

    status String
    Configuration status for the custom domain. Options include disabled, pending, pending_verification, and ready.
    tlsPolicy String
    TLS policy for the custom domain. Available options are: compatible or recommended. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on self_managed domains.
    type String
    Provisioning type for the custom domain. Options include auth0_managed_certs and self_managed_certs.
    verifications List<Property Map>
    Configuration settings for verification.

    Supporting Types

    CustomDomainCertificate, CustomDomainCertificateArgs

    CertificateAuthority string
    Name of the certificate authority that issued the certificate.
    ErrorMsg string
    Contains the error message if the provisioning process fails.
    RenewsBefore string
    Specifies the date by which the certificate should be renewed.
    Status string
    Indicates the current state of the certificate provisioning process.
    CertificateAuthority string
    Name of the certificate authority that issued the certificate.
    ErrorMsg string
    Contains the error message if the provisioning process fails.
    RenewsBefore string
    Specifies the date by which the certificate should be renewed.
    Status string
    Indicates the current state of the certificate provisioning process.
    certificateAuthority String
    Name of the certificate authority that issued the certificate.
    errorMsg String
    Contains the error message if the provisioning process fails.
    renewsBefore String
    Specifies the date by which the certificate should be renewed.
    status String
    Indicates the current state of the certificate provisioning process.
    certificateAuthority string
    Name of the certificate authority that issued the certificate.
    errorMsg string
    Contains the error message if the provisioning process fails.
    renewsBefore string
    Specifies the date by which the certificate should be renewed.
    status string
    Indicates the current state of the certificate provisioning process.
    certificate_authority str
    Name of the certificate authority that issued the certificate.
    error_msg str
    Contains the error message if the provisioning process fails.
    renews_before str
    Specifies the date by which the certificate should be renewed.
    status str
    Indicates the current state of the certificate provisioning process.
    certificateAuthority String
    Name of the certificate authority that issued the certificate.
    errorMsg String
    Contains the error message if the provisioning process fails.
    renewsBefore String
    Specifies the date by which the certificate should be renewed.
    status String
    Indicates the current state of the certificate provisioning process.

    CustomDomainVerification, CustomDomainVerificationArgs

    ErrorMsg string
    Contains error message, if any, from the last DNS verification check.
    LastVerifiedAt string
    Indicates the last time the domain was successfully verified.
    Methods List<object>
    Defines the list of domain verification methods used.
    Status string
    Represents the current status of the domain verification process.
    ErrorMsg string
    Contains error message, if any, from the last DNS verification check.
    LastVerifiedAt string
    Indicates the last time the domain was successfully verified.
    Methods []interface{}
    Defines the list of domain verification methods used.
    Status string
    Represents the current status of the domain verification process.
    errorMsg String
    Contains error message, if any, from the last DNS verification check.
    lastVerifiedAt String
    Indicates the last time the domain was successfully verified.
    methods List<Object>
    Defines the list of domain verification methods used.
    status String
    Represents the current status of the domain verification process.
    errorMsg string
    Contains error message, if any, from the last DNS verification check.
    lastVerifiedAt string
    Indicates the last time the domain was successfully verified.
    methods any[]
    Defines the list of domain verification methods used.
    status string
    Represents the current status of the domain verification process.
    error_msg str
    Contains error message, if any, from the last DNS verification check.
    last_verified_at str
    Indicates the last time the domain was successfully verified.
    methods Sequence[Any]
    Defines the list of domain verification methods used.
    status str
    Represents the current status of the domain verification process.
    errorMsg String
    Contains error message, if any, from the last DNS verification check.
    lastVerifiedAt String
    Indicates the last time the domain was successfully verified.
    methods List<Any>
    Defines the list of domain verification methods used.
    status String
    Represents the current status of the domain verification process.

    Import

    Custom domains can be imported using their ID.

    You can find existing custom domain IDs using the Auth0 Management API.

    https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains

    Example:

    $ pulumi import auth0:index/customDomain:CustomDomain my_custom_domain "cd_XXXXXXXXXXXXXXXX"
    

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

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.24.0 published on Saturday, Aug 2, 2025 by Pulumi