Grants
laktory.models.resources.databricks.Grants
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
Databricks Grants
List of grants assigned to a securable object.
ATTRIBUTE | DESCRIPTION |
---|---|
grants |
List of grant assigned to the selected object |
catalog |
Name of the catalog to assign the grants to
TYPE:
|
external_location |
Name of the external location to assign the grants to
TYPE:
|
metastore |
Name of the metastore to assign the grants to
TYPE:
|
model |
Name of the user to assign the permission to.
TYPE:
|
schema |
Name of the schema to assign the permission to.
|
share |
Name of the share to assign the permission to.
TYPE:
|
storage_credential |
Name of the storage credential to assign the permission to.
TYPE:
|
view |
Name of the view to assign the permission to.
TYPE:
|
volume |
Name of the volume to assign the permission to.
TYPE:
|
Examples:
from laktory import models
grants = models.resources.databricks.Grants(
catalog="dev",
grants=[{"principal": "metastore-admins", "privileges": ["CREATE_SCHEMA"]}],
)
laktory.models.resources.databricks.grants.Grant
¤
Each grant model allows a set of privileges to a principal and operate on a securable object. More details on privileges available here.
laktory.models.CatalogGrant
¤
Bases: BaseModel
Privileges granted to a principal and operating on a catalog.
ATTRIBUTE | DESCRIPTION |
---|---|
principal |
User, group or service principal name
TYPE:
|
privileges |
List of allowed privileges
TYPE:
|
References
laktory.models.ConnectionGrant
¤
laktory.models.ExternalLocationGrant
¤
Bases: BaseModel
Privileges granted to a principal and operating on an external location
ATTRIBUTE | DESCRIPTION |
---|---|
principal |
User, group or service principal name
TYPE:
|
privileges |
List of allowed privileges
TYPE:
|
References
laktory.models.FunctionGrant
¤
laktory.models.MetastoreGrant
¤
Bases: BaseModel
Privileges granted to a principal and operating on a metastore
ATTRIBUTE | DESCRIPTION |
---|---|
principal |
User, group or service principal name
TYPE:
|
privileges |
List of allowed privileges
TYPE:
|
References
laktory.models.RegisteredModelGrant
¤
laktory.models.SchemaGrant
¤
Bases: BaseModel
Privileges granted to a principal and operating on a schema
ATTRIBUTE | DESCRIPTION |
---|---|
principal |
User, group or service principal name
TYPE:
|
privileges |
List of allowed privileges
TYPE:
|
References
laktory.models.ShareGrant
¤
laktory.models.StorageCredentialGrant
¤
Bases: BaseModel
Privileges granted to a principal and operating on a storage credential
ATTRIBUTE | DESCRIPTION |
---|---|
principal |
User, group or service principal name
TYPE:
|
privileges |
List of allowed privileges
TYPE:
|