Skip to content

Secret

laktory.models.resources.databricks.Secret ยค

Bases: SecretBase

Databricks secret

Examples:

import io

from laktory import models

secret_yaml = '''
scope: azure
key: client-id
string_value: f461daa2-c281-4166-bc3e-538b90223184
'''
secret = models.resources.databricks.Secret.model_validate_yaml(
    io.StringIO(secret_yaml)
)
References
BASE DESCRIPTION
key

(String) key within secret scope. Must consist of alphanumeric characters, dashes, underscores, and periods, and may not exceed 128 characters

TYPE: str | VariableType

scope

Name of the secret scope

TYPE: str | None | VariableType DEFAULT: None

string_value

(String) super secret sensitive value

TYPE: str | VariableType