published on Sunday, Oct 11, 2026 by Descope
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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) -> TwilioVerifyConnectorfunc 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- descope descope/pulumi-descope
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
descopeTerraform Provider.
published on Sunday, Oct 11, 2026 by Descope