1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. OpentelemetryConnector
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 OpenTelemetry connector and its configuration in a Descope project. Send audit events and troubleshooting logs to an OpenTelemetry-compatible endpoint using OTLP over HTTP or gRPC.

    Create OpentelemetryConnector Resource

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

    Constructor syntax

    new OpentelemetryConnector(name: string, args: OpentelemetryConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def OpentelemetryConnector(resource_name: str,
                               args: OpentelemetryConnectorArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def OpentelemetryConnector(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               endpoint: Optional[str] = None,
                               project_id: Optional[str] = None,
                               description: Optional[str] = None,
                               audit_enabled: Optional[bool] = None,
                               disabled: Optional[bool] = None,
                               authentication: Optional[OpentelemetryConnectorAuthenticationArgs] = None,
                               headers: Optional[Mapping[str, str]] = None,
                               insecure: Optional[bool] = None,
                               name: Optional[str] = None,
                               audit_filters: Optional[Sequence[OpentelemetryConnectorAuditFilterArgs]] = None,
                               protocol: Optional[str] = None,
                               secret_headers: Optional[Mapping[str, str]] = None,
                               troubleshoot_log_enabled: Optional[bool] = None)
    func NewOpentelemetryConnector(ctx *Context, name string, args OpentelemetryConnectorArgs, opts ...ResourceOption) (*OpentelemetryConnector, error)
    public OpentelemetryConnector(string name, OpentelemetryConnectorArgs args, CustomResourceOptions? opts = null)
    public OpentelemetryConnector(String name, OpentelemetryConnectorArgs args)
    public OpentelemetryConnector(String name, OpentelemetryConnectorArgs args, CustomResourceOptions options)
    
    type: descope:OpentelemetryConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_opentelemetry_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OpentelemetryConnectorArgs
    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 OpentelemetryConnectorArgs
    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 OpentelemetryConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OpentelemetryConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OpentelemetryConnectorArgs
    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 opentelemetryConnectorResource = new Descope.OpentelemetryConnector("opentelemetryConnectorResource", new()
    {
        Endpoint = "string",
        ProjectId = "string",
        Description = "string",
        AuditEnabled = false,
        Disabled = false,
        Authentication = new Descope.Inputs.OpentelemetryConnectorAuthenticationArgs
        {
            ApiKey = new Descope.Inputs.OpentelemetryConnectorAuthenticationApiKeyArgs
            {
                Key = "string",
                Token = "string",
            },
            Basic = new Descope.Inputs.OpentelemetryConnectorAuthenticationBasicArgs
            {
                Password = "string",
                Username = "string",
            },
            BearerToken = "string",
            Oauth2ClientCredentials = new Descope.Inputs.OpentelemetryConnectorAuthenticationOauth2ClientCredentialsArgs
            {
                AuthUrl = "string",
                ClientId = "string",
                ClientSecret = "string",
                AuthStyle = "string",
                Scopes = "string",
                TokenRequestHeaders = 
                {
                    { "string", "string" },
                },
            },
        },
        Headers = 
        {
            { "string", "string" },
        },
        Insecure = false,
        Name = "string",
        AuditFilters = new[]
        {
            new Descope.Inputs.OpentelemetryConnectorAuditFilterArgs
            {
                Key = "string",
                Operator = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Protocol = "string",
        SecretHeaders = 
        {
            { "string", "string" },
        },
        TroubleshootLogEnabled = false,
    });
    
    example, err := descope.NewOpentelemetryConnector(ctx, "opentelemetryConnectorResource", &descope.OpentelemetryConnectorArgs{
    	Endpoint:     pulumi.String("string"),
    	ProjectId:    pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	AuditEnabled: pulumi.Bool(false),
    	Disabled:     pulumi.Bool(false),
    	Authentication: &descope.OpentelemetryConnectorAuthenticationArgs{
    		ApiKey: &descope.OpentelemetryConnectorAuthenticationApiKeyArgs{
    			Key:   pulumi.String("string"),
    			Token: pulumi.String("string"),
    		},
    		Basic: &descope.OpentelemetryConnectorAuthenticationBasicArgs{
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    		BearerToken: pulumi.String("string"),
    		Oauth2ClientCredentials: &descope.OpentelemetryConnectorAuthenticationOauth2ClientCredentialsArgs{
    			AuthUrl:      pulumi.String("string"),
    			ClientId:     pulumi.String("string"),
    			ClientSecret: pulumi.String("string"),
    			AuthStyle:    pulumi.String("string"),
    			Scopes:       pulumi.String("string"),
    			TokenRequestHeaders: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	Headers: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Insecure: pulumi.Bool(false),
    	Name:     pulumi.String("string"),
    	AuditFilters: descope.OpentelemetryConnectorAuditFilterArray{
    		&descope.OpentelemetryConnectorAuditFilterArgs{
    			Key:      pulumi.String("string"),
    			Operator: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Protocol: pulumi.String("string"),
    	SecretHeaders: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TroubleshootLogEnabled: pulumi.Bool(false),
    })
    
    resource "descope_opentelemetry_connector" "opentelemetryConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      endpoint      = "string"
      project_id    = "string"
      description   = "string"
      audit_enabled = false
      disabled      = false
      authentication = {
        api_key = {
          key   = "string"
          token = "string"
        }
        basic = {
          password = "string"
          username = "string"
        }
        bearer_token = "string"
        oauth2_client_credentials = {
          auth_url      = "string"
          client_id     = "string"
          client_secret = "string"
          auth_style    = "string"
          scopes        = "string"
          token_request_headers = {
            "string" = "string"
          }
        }
      }
      headers = {
        "string" = "string"
      }
      insecure = false
      name     = "string"
      audit_filters {
        key      = "string"
        operator = "string"
        values   = ["string"]
      }
      protocol = "string"
      secret_headers = {
        "string" = "string"
      }
      troubleshoot_log_enabled = false
    }
    
    var opentelemetryConnectorResource = new OpentelemetryConnector("opentelemetryConnectorResource", OpentelemetryConnectorArgs.builder()
        .endpoint("string")
        .projectId("string")
        .description("string")
        .auditEnabled(false)
        .disabled(false)
        .authentication(OpentelemetryConnectorAuthenticationArgs.builder()
            .apiKey(OpentelemetryConnectorAuthenticationApiKeyArgs.builder()
                .key("string")
                .token("string")
                .build())
            .basic(OpentelemetryConnectorAuthenticationBasicArgs.builder()
                .password("string")
                .username("string")
                .build())
            .bearerToken("string")
            .oauth2ClientCredentials(OpentelemetryConnectorAuthenticationOauth2ClientCredentialsArgs.builder()
                .authUrl("string")
                .clientId("string")
                .clientSecret("string")
                .authStyle("string")
                .scopes("string")
                .tokenRequestHeaders(Map.of("string", "string"))
                .build())
            .build())
        .headers(Map.of("string", "string"))
        .insecure(false)
        .name("string")
        .auditFilters(OpentelemetryConnectorAuditFilterArgs.builder()
            .key("string")
            .operator("string")
            .values("string")
            .build())
        .protocol("string")
        .secretHeaders(Map.of("string", "string"))
        .troubleshootLogEnabled(false)
        .build());
    
    opentelemetry_connector_resource = descope.OpentelemetryConnector("opentelemetryConnectorResource",
        endpoint="string",
        project_id="string",
        description="string",
        audit_enabled=False,
        disabled=False,
        authentication={
            "api_key": {
                "key": "string",
                "token": "string",
            },
            "basic": {
                "password": "string",
                "username": "string",
            },
            "bearer_token": "string",
            "oauth2_client_credentials": {
                "auth_url": "string",
                "client_id": "string",
                "client_secret": "string",
                "auth_style": "string",
                "scopes": "string",
                "token_request_headers": {
                    "string": "string",
                },
            },
        },
        headers={
            "string": "string",
        },
        insecure=False,
        name="string",
        audit_filters=[{
            "key": "string",
            "operator": "string",
            "values": ["string"],
        }],
        protocol="string",
        secret_headers={
            "string": "string",
        },
        troubleshoot_log_enabled=False)
    
    const opentelemetryConnectorResource = new descope.OpentelemetryConnector("opentelemetryConnectorResource", {
        endpoint: "string",
        projectId: "string",
        description: "string",
        auditEnabled: false,
        disabled: false,
        authentication: {
            apiKey: {
                key: "string",
                token: "string",
            },
            basic: {
                password: "string",
                username: "string",
            },
            bearerToken: "string",
            oauth2ClientCredentials: {
                authUrl: "string",
                clientId: "string",
                clientSecret: "string",
                authStyle: "string",
                scopes: "string",
                tokenRequestHeaders: {
                    string: "string",
                },
            },
        },
        headers: {
            string: "string",
        },
        insecure: false,
        name: "string",
        auditFilters: [{
            key: "string",
            operator: "string",
            values: ["string"],
        }],
        protocol: "string",
        secretHeaders: {
            string: "string",
        },
        troubleshootLogEnabled: false,
    });
    
    type: descope:OpentelemetryConnector
    properties:
        auditEnabled: false
        auditFilters:
            - key: string
              operator: string
              values:
                - string
        authentication:
            apiKey:
                key: string
                token: string
            basic:
                password: string
                username: string
            bearerToken: string
            oauth2ClientCredentials:
                authStyle: string
                authUrl: string
                clientId: string
                clientSecret: string
                scopes: string
                tokenRequestHeaders:
                    string: string
        description: string
        disabled: false
        endpoint: string
        headers:
            string: string
        insecure: false
        name: string
        projectId: string
        protocol: string
        secretHeaders:
            string: string
        troubleshootLogEnabled: false
    

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

    Endpoint string
    The OTLP endpoint URL.
    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.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters List<Descope.OpentelemetryConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    Authentication Descope.OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    Headers Dictionary<string, string>
    The headers to send with the request
    Insecure bool
    Will ignore certificate errors raised by the client
    Name string
    A custom name for your connector.
    Protocol string
    Protocol to use for OTLP: http or grpc.
    SecretHeaders Dictionary<string, string>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    Endpoint string
    The OTLP endpoint URL.
    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.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters []OpentelemetryConnectorAuditFilterArgs
    Specify which events will be sent to the external audit service (including tenant selection).
    Authentication OpentelemetryConnectorAuthenticationArgs
    Authentication Information
    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.
    Headers map[string]string
    The headers to send with the request
    Insecure bool
    Will ignore certificate errors raised by the client
    Name string
    A custom name for your connector.
    Protocol string
    Protocol to use for OTLP: http or grpc.
    SecretHeaders map[string]string
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    endpoint string
    The OTLP endpoint URL.
    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.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters list(object)
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication object
    Authentication Information
    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.
    headers map(string)
    The headers to send with the request
    insecure bool
    Will ignore certificate errors raised by the client
    name string
    A custom name for your connector.
    protocol string
    Protocol to use for OTLP: http or grpc.
    secret_headers map(string)
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    endpoint String
    The OTLP endpoint URL.
    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.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<OpentelemetryConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    headers Map<String,String>
    The headers to send with the request
    insecure Boolean
    Will ignore certificate errors raised by the client
    name String
    A custom name for your connector.
    protocol String
    Protocol to use for OTLP: http or grpc.
    secretHeaders Map<String,String>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.
    endpoint string
    The OTLP endpoint URL.
    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.
    auditEnabled boolean
    Whether to enable streaming of audit events.
    auditFilters OpentelemetryConnectorAuditFilter[]
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    headers {[key: string]: string}
    The headers to send with the request
    insecure boolean
    Will ignore certificate errors raised by the client
    name string
    A custom name for your connector.
    protocol string
    Protocol to use for OTLP: http or grpc.
    secretHeaders {[key: string]: string}
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled boolean
    Whether to send troubleshooting events.
    endpoint str
    The OTLP endpoint URL.
    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.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters Sequence[OpentelemetryConnectorAuditFilterArgs]
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthenticationArgs
    Authentication Information
    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.
    headers Mapping[str, str]
    The headers to send with the request
    insecure bool
    Will ignore certificate errors raised by the client
    name str
    A custom name for your connector.
    protocol str
    Protocol to use for OTLP: http or grpc.
    secret_headers Mapping[str, str]
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    endpoint String
    The OTLP endpoint URL.
    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.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<Property Map>
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication Property Map
    Authentication Information
    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.
    headers Map<String>
    The headers to send with the request
    insecure Boolean
    Will ignore certificate errors raised by the client
    name String
    A custom name for your connector.
    protocol String
    Protocol to use for OTLP: http or grpc.
    secretHeaders Map<String>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.

    Outputs

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

    Get an existing OpentelemetryConnector 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?: OpentelemetryConnectorState, opts?: CustomResourceOptions): OpentelemetryConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            audit_enabled: Optional[bool] = None,
            audit_filters: Optional[Sequence[OpentelemetryConnectorAuditFilterArgs]] = None,
            authentication: Optional[OpentelemetryConnectorAuthenticationArgs] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            endpoint: Optional[str] = None,
            headers: Optional[Mapping[str, str]] = None,
            insecure: Optional[bool] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            protocol: Optional[str] = None,
            secret_headers: Optional[Mapping[str, str]] = None,
            troubleshoot_log_enabled: Optional[bool] = None) -> OpentelemetryConnector
    func GetOpentelemetryConnector(ctx *Context, name string, id IDInput, state *OpentelemetryConnectorState, opts ...ResourceOption) (*OpentelemetryConnector, error)
    public static OpentelemetryConnector Get(string name, Input<string> id, OpentelemetryConnectorState? state, CustomResourceOptions? opts = null)
    public static OpentelemetryConnector get(String name, Output<String> id, OpentelemetryConnectorState state, CustomResourceOptions options)
    resources:  existingOpentelemetryConnector:    type: descope:OpentelemetryConnector    get:      id: ${id}
    import {
      to = descope_opentelemetry_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 OpentelemetryConnectorState
    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 OpentelemetryConnectorState
    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 OpentelemetryConnectorState
    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 OpentelemetryConnectorState
    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:
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters List<Descope.OpentelemetryConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    Authentication Descope.OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    Endpoint string
    The OTLP endpoint URL.
    Headers Dictionary<string, string>
    The headers to send with the request
    Insecure bool
    Will ignore certificate errors raised by the client
    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.
    Protocol string
    Protocol to use for OTLP: http or grpc.
    SecretHeaders Dictionary<string, string>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters []OpentelemetryConnectorAuditFilterArgs
    Specify which events will be sent to the external audit service (including tenant selection).
    Authentication OpentelemetryConnectorAuthenticationArgs
    Authentication Information
    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.
    Endpoint string
    The OTLP endpoint URL.
    Headers map[string]string
    The headers to send with the request
    Insecure bool
    Will ignore certificate errors raised by the client
    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.
    Protocol string
    Protocol to use for OTLP: http or grpc.
    SecretHeaders map[string]string
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters list(object)
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication object
    Authentication Information
    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.
    endpoint string
    The OTLP endpoint URL.
    headers map(string)
    The headers to send with the request
    insecure bool
    Will ignore certificate errors raised by the client
    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.
    protocol string
    Protocol to use for OTLP: http or grpc.
    secret_headers map(string)
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<OpentelemetryConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    endpoint String
    The OTLP endpoint URL.
    headers Map<String,String>
    The headers to send with the request
    insecure Boolean
    Will ignore certificate errors raised by the client
    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.
    protocol String
    Protocol to use for OTLP: http or grpc.
    secretHeaders Map<String,String>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.
    auditEnabled boolean
    Whether to enable streaming of audit events.
    auditFilters OpentelemetryConnectorAuditFilter[]
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthentication
    Authentication Information
    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.
    endpoint string
    The OTLP endpoint URL.
    headers {[key: string]: string}
    The headers to send with the request
    insecure boolean
    Will ignore certificate errors raised by the client
    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.
    protocol string
    Protocol to use for OTLP: http or grpc.
    secretHeaders {[key: string]: string}
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled boolean
    Whether to send troubleshooting events.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters Sequence[OpentelemetryConnectorAuditFilterArgs]
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication OpentelemetryConnectorAuthenticationArgs
    Authentication Information
    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.
    endpoint str
    The OTLP endpoint URL.
    headers Mapping[str, str]
    The headers to send with the request
    insecure bool
    Will ignore certificate errors raised by the client
    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.
    protocol str
    Protocol to use for OTLP: http or grpc.
    secret_headers Mapping[str, str]
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<Property Map>
    Specify which events will be sent to the external audit service (including tenant selection).
    authentication Property Map
    Authentication Information
    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.
    endpoint String
    The OTLP endpoint URL.
    headers Map<String>
    The headers to send with the request
    insecure Boolean
    Will ignore certificate errors raised by the client
    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.
    protocol String
    Protocol to use for OTLP: http or grpc.
    secretHeaders Map<String>
    The headers to send with the request. Values set here are stored encrypted and are never returned by the API, so they are not read back into the Terraform state.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.

    Supporting Types

    OpentelemetryConnectorAuditFilter, OpentelemetryConnectorAuditFilterArgs

    Key string
    The field name to filter on (either 'actions' or 'tenants').
    Operator string
    The filter operation to apply ('includes' or 'excludes').
    Values List<string>
    The list of values to match against for the filter.
    Key string
    The field name to filter on (either 'actions' or 'tenants').
    Operator string
    The filter operation to apply ('includes' or 'excludes').
    Values []string
    The list of values to match against for the filter.
    key string
    The field name to filter on (either 'actions' or 'tenants').
    operator string
    The filter operation to apply ('includes' or 'excludes').
    values list(string)
    The list of values to match against for the filter.
    key String
    The field name to filter on (either 'actions' or 'tenants').
    operator String
    The filter operation to apply ('includes' or 'excludes').
    values List<String>
    The list of values to match against for the filter.
    key string
    The field name to filter on (either 'actions' or 'tenants').
    operator string
    The filter operation to apply ('includes' or 'excludes').
    values string[]
    The list of values to match against for the filter.
    key str
    The field name to filter on (either 'actions' or 'tenants').
    operator str
    The filter operation to apply ('includes' or 'excludes').
    values Sequence[str]
    The list of values to match against for the filter.
    key String
    The field name to filter on (either 'actions' or 'tenants').
    operator String
    The filter operation to apply ('includes' or 'excludes').
    values List<String>
    The list of values to match against for the filter.

    OpentelemetryConnectorAuthentication, OpentelemetryConnectorAuthenticationArgs

    ApiKey Descope.OpentelemetryConnectorAuthenticationApiKey
    API key authentication configuration.
    Basic Descope.OpentelemetryConnectorAuthenticationBasic
    Basic authentication credentials (username and password).
    BearerToken string
    Bearer token for HTTP authentication.
    Oauth2ClientCredentials Descope.OpentelemetryConnectorAuthenticationOauth2ClientCredentials
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    ApiKey OpentelemetryConnectorAuthenticationApiKey
    API key authentication configuration.
    Basic OpentelemetryConnectorAuthenticationBasic
    Basic authentication credentials (username and password).
    BearerToken string
    Bearer token for HTTP authentication.
    Oauth2ClientCredentials OpentelemetryConnectorAuthenticationOauth2ClientCredentials
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    api_key object
    API key authentication configuration.
    basic object
    Basic authentication credentials (username and password).
    bearer_token string
    Bearer token for HTTP authentication.
    oauth2_client_credentials object
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    apiKey OpentelemetryConnectorAuthenticationApiKey
    API key authentication configuration.
    basic OpentelemetryConnectorAuthenticationBasic
    Basic authentication credentials (username and password).
    bearerToken String
    Bearer token for HTTP authentication.
    oauth2ClientCredentials OpentelemetryConnectorAuthenticationOauth2ClientCredentials
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    apiKey OpentelemetryConnectorAuthenticationApiKey
    API key authentication configuration.
    basic OpentelemetryConnectorAuthenticationBasic
    Basic authentication credentials (username and password).
    bearerToken string
    Bearer token for HTTP authentication.
    oauth2ClientCredentials OpentelemetryConnectorAuthenticationOauth2ClientCredentials
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    api_key OpentelemetryConnectorAuthenticationApiKey
    API key authentication configuration.
    basic OpentelemetryConnectorAuthenticationBasic
    Basic authentication credentials (username and password).
    bearer_token str
    Bearer token for HTTP authentication.
    oauth2_client_credentials OpentelemetryConnectorAuthenticationOauth2ClientCredentials
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.
    apiKey Property Map
    API key authentication configuration.
    basic Property Map
    Basic authentication credentials (username and password).
    bearerToken String
    Bearer token for HTTP authentication.
    oauth2ClientCredentials Property Map
    OAuth 2.0 client credentials configuration used to fetch an access token before making requests.

    OpentelemetryConnectorAuthenticationApiKey, OpentelemetryConnectorAuthenticationApiKeyArgs

    Key string
    The API key.
    Token string
    The API secret.
    Key string
    The API key.
    Token string
    The API secret.
    key string
    The API key.
    token string
    The API secret.
    key String
    The API key.
    token String
    The API secret.
    key string
    The API key.
    token string
    The API secret.
    key str
    The API key.
    token str
    The API secret.
    key String
    The API key.
    token String
    The API secret.

    OpentelemetryConnectorAuthenticationBasic, OpentelemetryConnectorAuthenticationBasicArgs

    Password string
    Password for basic HTTP authentication.
    Username string
    Username for basic HTTP authentication.
    Password string
    Password for basic HTTP authentication.
    Username string
    Username for basic HTTP authentication.
    password string
    Password for basic HTTP authentication.
    username string
    Username for basic HTTP authentication.
    password String
    Password for basic HTTP authentication.
    username String
    Username for basic HTTP authentication.
    password string
    Password for basic HTTP authentication.
    username string
    Username for basic HTTP authentication.
    password str
    Password for basic HTTP authentication.
    username str
    Username for basic HTTP authentication.
    password String
    Password for basic HTTP authentication.
    username String
    Username for basic HTTP authentication.

    OpentelemetryConnectorAuthenticationOauth2ClientCredentials, OpentelemetryConnectorAuthenticationOauth2ClientCredentialsArgs

    AuthUrl string
    The token endpoint URL used to request an access token.
    ClientId string
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    ClientSecret string
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    AuthStyle string
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    Scopes string
    A space-separated list of OAuth scopes to request when fetching the access token.
    TokenRequestHeaders Dictionary<string, string>
    Additional headers to include in the token request sent to the token endpoint.
    AuthUrl string
    The token endpoint URL used to request an access token.
    ClientId string
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    ClientSecret string
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    AuthStyle string
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    Scopes string
    A space-separated list of OAuth scopes to request when fetching the access token.
    TokenRequestHeaders map[string]string
    Additional headers to include in the token request sent to the token endpoint.
    auth_url string
    The token endpoint URL used to request an access token.
    client_id string
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    client_secret string
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    auth_style string
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    scopes string
    A space-separated list of OAuth scopes to request when fetching the access token.
    token_request_headers map(string)
    Additional headers to include in the token request sent to the token endpoint.
    authUrl String
    The token endpoint URL used to request an access token.
    clientId String
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    clientSecret String
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    authStyle String
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    scopes String
    A space-separated list of OAuth scopes to request when fetching the access token.
    tokenRequestHeaders Map<String,String>
    Additional headers to include in the token request sent to the token endpoint.
    authUrl string
    The token endpoint URL used to request an access token.
    clientId string
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    clientSecret string
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    authStyle string
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    scopes string
    A space-separated list of OAuth scopes to request when fetching the access token.
    tokenRequestHeaders {[key: string]: string}
    Additional headers to include in the token request sent to the token endpoint.
    auth_url str
    The token endpoint URL used to request an access token.
    client_id str
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    client_secret str
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    auth_style str
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    scopes str
    A space-separated list of OAuth scopes to request when fetching the access token.
    token_request_headers Mapping[str, str]
    Additional headers to include in the token request sent to the token endpoint.
    authUrl String
    The token endpoint URL used to request an access token.
    clientId String
    The OAuth 2.0 client ID used to authenticate against the token endpoint.
    clientSecret String
    The OAuth 2.0 client secret used to authenticate against the token endpoint.
    authStyle String
    How the client credentials are sent to the token endpoint. Either header to send them in the Authorization header, or body to send them in the request body.
    scopes String
    A space-separated list of OAuth scopes to request when fetching the access token.
    tokenRequestHeaders Map<String>
    Additional headers to include in the token request sent to the token endpoint.

    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