1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. OtpSettings
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope
descope logo Descope
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope

    Manages the project-level one-time passcode authentication settings. This is a singleton resource, and its id is always the project ID.

    Create OtpSettings Resource

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

    Constructor syntax

    new OtpSettings(name: string, args: OtpSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def OtpSettings(resource_name: str,
                    args: OtpSettingsArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def OtpSettings(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    project_id: Optional[str] = None,
                    disabled: Optional[bool] = None,
                    domain: Optional[str] = None,
                    email_connector_id: Optional[str] = None,
                    email_template_id: Optional[str] = None,
                    expiration_time: Optional[str] = None,
                    text_connector_id: Optional[str] = None,
                    text_template_id: Optional[str] = None,
                    voice_connector_id: Optional[str] = None,
                    voice_template_id: Optional[str] = None)
    func NewOtpSettings(ctx *Context, name string, args OtpSettingsArgs, opts ...ResourceOption) (*OtpSettings, error)
    public OtpSettings(string name, OtpSettingsArgs args, CustomResourceOptions? opts = null)
    public OtpSettings(String name, OtpSettingsArgs args)
    public OtpSettings(String name, OtpSettingsArgs args, CustomResourceOptions options)
    
    type: descope:OtpSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_otp_settings" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OtpSettingsArgs
    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 OtpSettingsArgs
    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 OtpSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OtpSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OtpSettingsArgs
    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 otpSettingsResource = new Descope.OtpSettings("otpSettingsResource", new()
    {
        ProjectId = "string",
        Disabled = false,
        Domain = "string",
        EmailConnectorId = "string",
        EmailTemplateId = "string",
        ExpirationTime = "string",
        TextConnectorId = "string",
        TextTemplateId = "string",
        VoiceConnectorId = "string",
        VoiceTemplateId = "string",
    });
    
    example, err := descope.NewOtpSettings(ctx, "otpSettingsResource", &descope.OtpSettingsArgs{
    	ProjectId:        pulumi.String("string"),
    	Disabled:         pulumi.Bool(false),
    	Domain:           pulumi.String("string"),
    	EmailConnectorId: pulumi.String("string"),
    	EmailTemplateId:  pulumi.String("string"),
    	ExpirationTime:   pulumi.String("string"),
    	TextConnectorId:  pulumi.String("string"),
    	TextTemplateId:   pulumi.String("string"),
    	VoiceConnectorId: pulumi.String("string"),
    	VoiceTemplateId:  pulumi.String("string"),
    })
    
    resource "descope_otp_settings" "otpSettingsResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id         = "string"
      disabled           = false
      domain             = "string"
      email_connector_id = "string"
      email_template_id  = "string"
      expiration_time    = "string"
      text_connector_id  = "string"
      text_template_id   = "string"
      voice_connector_id = "string"
      voice_template_id  = "string"
    }
    
    var otpSettingsResource = new OtpSettings("otpSettingsResource", OtpSettingsArgs.builder()
        .projectId("string")
        .disabled(false)
        .domain("string")
        .emailConnectorId("string")
        .emailTemplateId("string")
        .expirationTime("string")
        .textConnectorId("string")
        .textTemplateId("string")
        .voiceConnectorId("string")
        .voiceTemplateId("string")
        .build());
    
    otp_settings_resource = descope.OtpSettings("otpSettingsResource",
        project_id="string",
        disabled=False,
        domain="string",
        email_connector_id="string",
        email_template_id="string",
        expiration_time="string",
        text_connector_id="string",
        text_template_id="string",
        voice_connector_id="string",
        voice_template_id="string")
    
    const otpSettingsResource = new descope.OtpSettings("otpSettingsResource", {
        projectId: "string",
        disabled: false,
        domain: "string",
        emailConnectorId: "string",
        emailTemplateId: "string",
        expirationTime: "string",
        textConnectorId: "string",
        textTemplateId: "string",
        voiceConnectorId: "string",
        voiceTemplateId: "string",
    });
    
    type: descope:OtpSettings
    properties:
        disabled: false
        domain: string
        emailConnectorId: string
        emailTemplateId: string
        expirationTime: string
        projectId: string
        textConnectorId: string
        textTemplateId: string
        voiceConnectorId: string
        voiceTemplateId: string
    

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

    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    Disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    Domain string
    The domain to embed in OTP messages.
    EmailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    EmailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    ExpirationTime string
    The amount of time that an OTP code will be valid for.
    TextConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    TextTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    VoiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    VoiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    Disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    Domain string
    The domain to embed in OTP messages.
    EmailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    EmailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    ExpirationTime string
    The amount of time that an OTP code will be valid for.
    TextConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    TextTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    VoiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    VoiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    project_id string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain string
    The domain to embed in OTP messages.
    email_connector_id string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    email_template_id string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expiration_time string
    The amount of time that an OTP code will be valid for.
    text_connector_id string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    text_template_id string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voice_connector_id string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voice_template_id string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    disabled Boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain String
    The domain to embed in OTP messages.
    emailConnectorId String
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId String
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime String
    The amount of time that an OTP code will be valid for.
    textConnectorId String
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId String
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId String
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId String
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    projectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    disabled boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain string
    The domain to embed in OTP messages.
    emailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime string
    The amount of time that an OTP code will be valid for.
    textConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    project_id str
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain str
    The domain to embed in OTP messages.
    email_connector_id str
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    email_template_id str
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expiration_time str
    The amount of time that an OTP code will be valid for.
    text_connector_id str
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    text_template_id str
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voice_connector_id str
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voice_template_id str
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    disabled Boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain String
    The domain to embed in OTP messages.
    emailConnectorId String
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId String
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime String
    The amount of time that an OTP code will be valid for.
    textConnectorId String
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId String
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId String
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId String
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OtpSettings Resource

    Get an existing OtpSettings 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?: OtpSettingsState, opts?: CustomResourceOptions): OtpSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            disabled: Optional[bool] = None,
            domain: Optional[str] = None,
            email_connector_id: Optional[str] = None,
            email_template_id: Optional[str] = None,
            expiration_time: Optional[str] = None,
            project_id: Optional[str] = None,
            text_connector_id: Optional[str] = None,
            text_template_id: Optional[str] = None,
            voice_connector_id: Optional[str] = None,
            voice_template_id: Optional[str] = None) -> OtpSettings
    func GetOtpSettings(ctx *Context, name string, id IDInput, state *OtpSettingsState, opts ...ResourceOption) (*OtpSettings, error)
    public static OtpSettings Get(string name, Input<string> id, OtpSettingsState? state, CustomResourceOptions? opts = null)
    public static OtpSettings get(String name, Output<String> id, OtpSettingsState state, CustomResourceOptions options)
    resources:  existingOtpSettings:    type: descope:OtpSettings    get:      id: ${id}
    import {
      to = descope_otp_settings.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state OtpSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state OtpSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state OtpSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state OtpSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    Domain string
    The domain to embed in OTP messages.
    EmailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    EmailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    ExpirationTime string
    The amount of time that an OTP code will be valid for.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    TextConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    TextTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    VoiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    VoiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    Disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    Domain string
    The domain to embed in OTP messages.
    EmailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    EmailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    ExpirationTime string
    The amount of time that an OTP code will be valid for.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    TextConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    TextTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    VoiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    VoiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain string
    The domain to embed in OTP messages.
    email_connector_id string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    email_template_id string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expiration_time string
    The amount of time that an OTP code will be valid for.
    project_id string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    text_connector_id string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    text_template_id string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voice_connector_id string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voice_template_id string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    disabled Boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain String
    The domain to embed in OTP messages.
    emailConnectorId String
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId String
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime String
    The amount of time that an OTP code will be valid for.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    textConnectorId String
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId String
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId String
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId String
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    disabled boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain string
    The domain to embed in OTP messages.
    emailConnectorId string
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId string
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime string
    The amount of time that an OTP code will be valid for.
    projectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    textConnectorId string
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId string
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId string
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId string
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    disabled bool
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain str
    The domain to embed in OTP messages.
    email_connector_id str
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    email_template_id str
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expiration_time str
    The amount of time that an OTP code will be valid for.
    project_id str
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    text_connector_id str
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    text_template_id str
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voice_connector_id str
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voice_template_id str
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    disabled Boolean
    Setting this to true will disallow using OTP authentication directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use OTP.
    domain String
    The domain to embed in OTP messages.
    emailConnectorId String
    The ID of an email connector to use for sending emails. An empty value (the default) selects the built-in Descope delivery service.
    emailTemplateId String
    The ID of the email template to send to users, taken from a descope.EmailTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    expirationTime String
    The amount of time that an OTP code will be valid for.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    textConnectorId String
    The ID of an SMS connector to use for sending text messages. An empty value (the default) selects the built-in Descope delivery service.
    textTemplateId String
    The ID of the text template to send to users, taken from a descope.TextTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.
    voiceConnectorId String
    The ID of a voice call connector to use for making voice calls. An empty value (the default) selects the built-in Descope delivery service.
    voiceTemplateId String
    The ID of the voice template to use in calls to users, taken from a descope.VoiceTemplate resource with its method set to otp. An empty value (the default) selects the built-in System template.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo Descope
    Viewing docs for Descope v1.0.1
    published on Sunday, Oct 11, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial