Skip to content

CustomAppIntegration

laktory.models.resources.databricks.CustomAppIntegration ¤

Bases: CustomAppIntegrationBase

Databricks Custom App Integration

Custom OAuth application integration.

Examples:

import io

from laktory import models

integration_yaml = '''
name: my-app
confidential: true
redirect_urls:
- https://example.com/callback
scopes:
- all-apis
'''
integration = models.resources.databricks.CustomAppIntegration.model_validate_yaml(
    io.StringIO(integration_yaml)
)
References
BASE DESCRIPTION
client_id

OAuth client-id generated by Databricks

TYPE: str | None | VariableType DEFAULT: None

client_secret

OAuth client-secret generated by the Databricks if this is a confidential OAuth app

TYPE: str | None | VariableType DEFAULT: None

confidential

Indicates whether an OAuth client secret is required to authenticate this client. Default to false. Change requires a new resource

TYPE: bool | None | VariableType DEFAULT: None

create_time

TYPE: str | None | VariableType DEFAULT: None

created_by

TYPE: int | None | VariableType DEFAULT: None

creator_username

TYPE: str | None | VariableType DEFAULT: None

integration_id

Unique integration id for the custom OAuth app

TYPE: str | None | VariableType DEFAULT: None

name

Name of the custom OAuth app. Change requires a new resource

TYPE: str | None | VariableType DEFAULT: None

redirect_urls

List of OAuth redirect urls

TYPE: list[str] | None | VariableType DEFAULT: None

scopes

OAuth scopes granted to the application. Supported scopes: all-apis, sql, offline_access, openid, profile, email

TYPE: list[str] | None | VariableType DEFAULT: None

token_access_policy

TYPE: CustomAppIntegrationTokenAccessPolicy | None | VariableType DEFAULT: None

user_authorized_scopes

TYPE: list[str] | None | VariableType DEFAULT: None


laktory.models.resources.databricks.customappintegration.CustomAppIntegrationTokenAccessPolicy ¤

Bases: BaseModel

PARAMETER DESCRIPTION
absolute_session_lifetime_in_minutes

TYPE: int | None | VariableType DEFAULT: None

access_token_ttl_in_minutes

access token time to live (TTL) in minutes

TYPE: int | None | VariableType DEFAULT: None

enable_single_use_refresh_tokens

TYPE: bool | None | VariableType DEFAULT: None

refresh_token_ttl_in_minutes

refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token

TYPE: int | None | VariableType DEFAULT: None