1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. TwilioVerifyConnector
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 a Twilio Verify connector and its configuration in a Descope project. Send verification codes through the Twilio Verify service.

    Create TwilioVerifyConnector Resource

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

    Constructor syntax

    new TwilioVerifyConnector(name: string, args: TwilioVerifyConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def TwilioVerifyConnector(resource_name: str,
                              args: TwilioVerifyConnectorArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def TwilioVerifyConnector(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              account_sid: Optional[str] = None,
                              project_id: Optional[str] = None,
                              service_sid: Optional[str] = None,
                              api_key: Optional[str] = None,
                              api_secret: Optional[str] = None,
                              auth_token: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              sender: Optional[str] = None)
    func NewTwilioVerifyConnector(ctx *Context, name string, args TwilioVerifyConnectorArgs, opts ...ResourceOption) (*TwilioVerifyConnector, error)
    public TwilioVerifyConnector(string name, TwilioVerifyConnectorArgs args, CustomResourceOptions? opts = null)
    public TwilioVerifyConnector(String name, TwilioVerifyConnectorArgs args)
    public TwilioVerifyConnector(String name, TwilioVerifyConnectorArgs args, CustomResourceOptions options)
    
    type: descope:TwilioVerifyConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_twilio_verify_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TwilioVerifyConnectorArgs
    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 TwilioVerifyConnectorArgs
    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 TwilioVerifyConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TwilioVerifyConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TwilioVerifyConnectorArgs
    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 twilioVerifyConnectorResource = new Descope.TwilioVerifyConnector("twilioVerifyConnectorResource", new()
    {
        AccountSid = "string",
        ProjectId = "string",
        ServiceSid = "string",
        ApiKey = "string",
        ApiSecret = "string",
        AuthToken = "string",
        Description = "string",
        Name = "string",
        Sender = "string",
    });
    
    example, err := descope.NewTwilioVerifyConnector(ctx, "twilioVerifyConnectorResource", &descope.TwilioVerifyConnectorArgs{
    	AccountSid:  pulumi.String("string"),
    	ProjectId:   pulumi.String("string"),
    	ServiceSid:  pulumi.String("string"),
    	ApiKey:      pulumi.String("string"),
    	ApiSecret:   pulumi.String("string"),
    	AuthToken:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Sender:      pulumi.String("string"),
    })
    
    resource "descope_twilio_verify_connector" "twilioVerifyConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_sid = "string"
      project_id  = "string"
      service_sid = "string"
      api_key     = "string"
      api_secret  = "string"
      auth_token  = "string"
      description = "string"
      name        = "string"
      sender      = "string"
    }
    
    var twilioVerifyConnectorResource = new TwilioVerifyConnector("twilioVerifyConnectorResource", TwilioVerifyConnectorArgs.builder()
        .accountSid("string")
        .projectId("string")
        .serviceSid("string")
        .apiKey("string")
        .apiSecret("string")
        .authToken("string")
        .description("string")
        .name("string")
        .sender("string")
        .build());
    
    twilio_verify_connector_resource = descope.TwilioVerifyConnector("twilioVerifyConnectorResource",
        account_sid="string",
        project_id="string",
        service_sid="string",
        api_key="string",
        api_secret="string",
        auth_token="string",
        description="string",
        name="string",
        sender="string")
    
    const twilioVerifyConnectorResource = new descope.TwilioVerifyConnector("twilioVerifyConnectorResource", {
        accountSid: "string",
        projectId: "string",
        serviceSid: "string",
        apiKey: "string",
        apiSecret: "string",
        authToken: "string",
        description: "string",
        name: "string",
        sender: "string",
    });
    
    type: descope:TwilioVerifyConnector
    properties:
        accountSid: string
        apiKey: string
        apiSecret: string
        authToken: string
        description: string
        name: string
        projectId: string
        sender: string
        serviceSid: string
    

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

    AccountSid string
    The Twilio account SID.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceSid string
    The Twilio Verify service SID used to send verification codes.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    Name string
    A custom name for your connector.
    Sender string
    The sender shown as the origin of the verification messages, where supported.
    AccountSid string
    The Twilio account SID.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceSid string
    The Twilio Verify service SID used to send verification codes.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    Name string
    A custom name for your connector.
    Sender string
    The sender shown as the origin of the verification messages, where supported.
    account_sid string
    The Twilio account SID.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_sid string
    The Twilio Verify service SID used to send verification codes.
    api_key string
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    name string
    A custom name for your connector.
    sender string
    The sender shown as the origin of the verification messages, where supported.
    accountSid String
    The Twilio account SID.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceSid String
    The Twilio Verify service SID used to send verification codes.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    name String
    A custom name for your connector.
    sender String
    The sender shown as the origin of the verification messages, where supported.
    accountSid string
    The Twilio account SID.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceSid string
    The Twilio Verify service SID used to send verification codes.
    apiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    name string
    A custom name for your connector.
    sender string
    The sender shown as the origin of the verification messages, where supported.
    account_sid str
    The Twilio account SID.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_sid str
    The Twilio Verify service SID used to send verification codes.
    api_key str
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret str
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token str
    The Twilio auth token. Set either this or an API key and secret pair.
    description str
    A description of what your connector is used for.
    name str
    A custom name for your connector.
    sender str
    The sender shown as the origin of the verification messages, where supported.
    accountSid String
    The Twilio account SID.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceSid String
    The Twilio Verify service SID used to send verification codes.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    name String
    A custom name for your connector.
    sender String
    The sender shown as the origin of the verification messages, where supported.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TwilioVerifyConnector 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 TwilioVerifyConnector Resource

    Get an existing TwilioVerifyConnector 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?: TwilioVerifyConnectorState, opts?: CustomResourceOptions): TwilioVerifyConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_sid: Optional[str] = None,
            api_key: Optional[str] = None,
            api_secret: Optional[str] = None,
            auth_token: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            sender: Optional[str] = None,
            service_sid: Optional[str] = None) -> TwilioVerifyConnector
    func GetTwilioVerifyConnector(ctx *Context, name string, id IDInput, state *TwilioVerifyConnectorState, opts ...ResourceOption) (*TwilioVerifyConnector, error)
    public static TwilioVerifyConnector Get(string name, Input<string> id, TwilioVerifyConnectorState? state, CustomResourceOptions? opts = null)
    public static TwilioVerifyConnector get(String name, Output<String> id, TwilioVerifyConnectorState state, CustomResourceOptions options)
    resources:  existingTwilioVerifyConnector:    type: descope:TwilioVerifyConnector    get:      id: ${id}
    import {
      to = descope_twilio_verify_connector.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 TwilioVerifyConnectorState
    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 TwilioVerifyConnectorState
    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 TwilioVerifyConnectorState
    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 TwilioVerifyConnectorState
    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:
    AccountSid string
    The Twilio account SID.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    Sender string
    The sender shown as the origin of the verification messages, where supported.
    ServiceSid string
    The Twilio Verify service SID used to send verification codes.
    AccountSid string
    The Twilio account SID.
    ApiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    ApiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    AuthToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    Description string
    A description of what your connector is used for.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    Sender string
    The sender shown as the origin of the verification messages, where supported.
    ServiceSid string
    The Twilio Verify service SID used to send verification codes.
    account_sid string
    The Twilio account SID.
    api_key string
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    name string
    A custom name for your connector.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    sender string
    The sender shown as the origin of the verification messages, where supported.
    service_sid string
    The Twilio Verify service SID used to send verification codes.
    accountSid String
    The Twilio account SID.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    sender String
    The sender shown as the origin of the verification messages, where supported.
    serviceSid String
    The Twilio Verify service SID used to send verification codes.
    accountSid string
    The Twilio account SID.
    apiKey string
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret string
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken string
    The Twilio auth token. Set either this or an API key and secret pair.
    description string
    A description of what your connector is used for.
    name string
    A custom name for your connector.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    sender string
    The sender shown as the origin of the verification messages, where supported.
    serviceSid string
    The Twilio Verify service SID used to send verification codes.
    account_sid str
    The Twilio account SID.
    api_key str
    The Twilio API key. Set together with an API secret instead of an auth token.
    api_secret str
    The Twilio API secret. Set together with an API key instead of an auth token.
    auth_token str
    The Twilio auth token. Set either this or an API key and secret pair.
    description str
    A description of what your connector is used for.
    name str
    A custom name for your connector.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    sender str
    The sender shown as the origin of the verification messages, where supported.
    service_sid str
    The Twilio Verify service SID used to send verification codes.
    accountSid String
    The Twilio account SID.
    apiKey String
    The Twilio API key. Set together with an API secret instead of an auth token.
    apiSecret String
    The Twilio API secret. Set together with an API key instead of an auth token.
    authToken String
    The Twilio auth token. Set either this or an API key and secret pair.
    description String
    A description of what your connector is used for.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    sender String
    The sender shown as the origin of the verification messages, where supported.
    serviceSid String
    The Twilio Verify service SID used to send verification codes.

    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