Skip to content

Grant

laktory.models.resources.databricks.Grant ยค

Bases: BaseModel, PulumiResource, TerraformResource

Databricks Grant

Authoritative for a specific principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.

Examples:

from laktory import models

grants = models.resources.databricks.Grant(
    catalog="dev",
    principal="metastore-admins",
    privileges=["CREATE_SCHEMA"],
)
PARAMETER DESCRIPTION
catalog

Name of the catalog to assign the grants to

TYPE: str | VariableType DEFAULT: None

external_location

Name of the external location to assign the grants to

TYPE: str | VariableType DEFAULT: None

metastore

Name of the metastore to assign the grants to

TYPE: str | VariableType DEFAULT: None

model

Name of the user to assign the permission to.

TYPE: str | VariableType DEFAULT: None

principal

User, group or service principal name

TYPE: str | VariableType

privileges

List of allowed privileges

TYPE: list[str | VariableType] | VariableType

schema_

Name of the schema to assign the permission to.

TYPE: str | VariableType DEFAULT: None

share

Name of the share to assign the permission to.

TYPE: str | VariableType DEFAULT: None

storage_credential

Name of the storage credential to assign the permission to.

TYPE: str | VariableType DEFAULT: None

table

Name of the table to assign the permission to.

TYPE: str | VariableType DEFAULT: None

view

Name of the view to assign the permission to.

TYPE: str | VariableType DEFAULT: None

volume

Name of the volume to assign the permission to.

TYPE: str | VariableType DEFAULT: None