published on Sunday, Oct 11, 2026 by Descope
published on Sunday, Oct 11, 2026 by Descope
Manages a Sardine connector and its configuration in a Descope project. Evaluate customer risk using Sardine.
Create SardineConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SardineConnector(name: string, args: SardineConnectorArgs, opts?: CustomResourceOptions);@overload
def SardineConnector(resource_name: str,
args: SardineConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SardineConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_url: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
project_id: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None)func NewSardineConnector(ctx *Context, name string, args SardineConnectorArgs, opts ...ResourceOption) (*SardineConnector, error)public SardineConnector(string name, SardineConnectorArgs args, CustomResourceOptions? opts = null)
public SardineConnector(String name, SardineConnectorArgs args)
public SardineConnector(String name, SardineConnectorArgs args, CustomResourceOptions options)
type: descope:SardineConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "descope_sardine_connector" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SardineConnectorArgs
- 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 SardineConnectorArgs
- 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 SardineConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SardineConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SardineConnectorArgs
- 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 sardineConnectorResource = new Descope.SardineConnector("sardineConnectorResource", new()
{
BaseUrl = "string",
ClientId = "string",
ClientSecret = "string",
ProjectId = "string",
Description = "string",
Disabled = false,
Name = "string",
});
example, err := descope.NewSardineConnector(ctx, "sardineConnectorResource", &descope.SardineConnectorArgs{
BaseUrl: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Description: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Name: pulumi.String("string"),
})
resource "descope_sardine_connector" "sardineConnectorResource" {
lifecycle {
create_before_destroy = true
}
base_url = "string"
client_id = "string"
client_secret = "string"
project_id = "string"
description = "string"
disabled = false
name = "string"
}
var sardineConnectorResource = new SardineConnector("sardineConnectorResource", SardineConnectorArgs.builder()
.baseUrl("string")
.clientId("string")
.clientSecret("string")
.projectId("string")
.description("string")
.disabled(false)
.name("string")
.build());
sardine_connector_resource = descope.SardineConnector("sardineConnectorResource",
base_url="string",
client_id="string",
client_secret="string",
project_id="string",
description="string",
disabled=False,
name="string")
const sardineConnectorResource = new descope.SardineConnector("sardineConnectorResource", {
baseUrl: "string",
clientId: "string",
clientSecret: "string",
projectId: "string",
description: "string",
disabled: false,
name: "string",
});
type: descope:SardineConnector
properties:
baseUrl: string
clientId: string
clientSecret: string
description: string
disabled: false
name: string
projectId: string
SardineConnector 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 SardineConnector resource accepts the following input properties:
- Base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- Client
Id string - The Sardine Client ID.
- Client
Secret string - The Sardine Client Secret.
- 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.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- Base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- Client
Id string - The Sardine Client ID.
- Client
Secret string - The Sardine Client Secret.
- 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.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- Name string
- A custom name for your connector.
- base_
url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client_
id string - The Sardine Client ID.
- client_
secret string - The Sardine Client Secret.
- 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.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- base
Url String - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id String - The Sardine Client ID.
- client
Secret String - The Sardine Client Secret.
- 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.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
- base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id string - The Sardine Client ID.
- client
Secret string - The Sardine Client Secret.
- 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.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name string
- A custom name for your connector.
- base_
url str - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client_
id str - The Sardine Client ID.
- client_
secret str - The Sardine Client Secret.
- 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.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name str
- A custom name for your connector.
- base
Url String - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id String - The Sardine Client ID.
- client
Secret String - The Sardine Client Secret.
- 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.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- name String
- A custom name for your connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the SardineConnector 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 SardineConnector Resource
Get an existing SardineConnector 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?: SardineConnectorState, opts?: CustomResourceOptions): SardineConnector@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
base_url: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
description: Optional[str] = None,
disabled: Optional[bool] = None,
name: Optional[str] = None,
project_id: Optional[str] = None) -> SardineConnectorfunc GetSardineConnector(ctx *Context, name string, id IDInput, state *SardineConnectorState, opts ...ResourceOption) (*SardineConnector, error)public static SardineConnector Get(string name, Input<string> id, SardineConnectorState? state, CustomResourceOptions? opts = null)public static SardineConnector get(String name, Output<String> id, SardineConnectorState state, CustomResourceOptions options)resources: _: type: descope:SardineConnector get: id: ${id}import {
to = descope_sardine_connector.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- Client
Id string - The Sardine Client ID.
- Client
Secret string - The Sardine Client Secret.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- Base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- Client
Id string - The Sardine Client ID.
- Client
Secret string - The Sardine Client Secret.
- Description string
- A description of what your connector is used for.
- Disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- base_
url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client_
id string - The Sardine Client ID.
- client_
secret string - The Sardine Client Secret.
- description string
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- base
Url String - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id String - The Sardine Client ID.
- client
Secret String - The Sardine Client Secret.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- base
Url string - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id string - The Sardine Client ID.
- client
Secret string - The Sardine Client Secret.
- description string
- A description of what your connector is used for.
- disabled boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- base_
url str - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client_
id str - The Sardine Client ID.
- client_
secret str - The Sardine Client Secret.
- description str
- A description of what your connector is used for.
- disabled bool
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
- base
Url String - The base URL for the Sardine API, e.g.: https://api.sandbox.sardine.ai, https://api.sardine.ai, https://api.eu.sardine.ai.
- client
Id String - The Sardine Client ID.
- client
Secret String - The Sardine Client Secret.
- description String
- A description of what your connector is used for.
- disabled Boolean
- Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
- 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.
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