SecretScope
laktory.models.resources.databricks.SecretScope
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
Databricks secret scope
ATTRIBUTE | DESCRIPTION |
---|---|
backend_type |
Backend for managing the secrets inside the scope
TYPE:
|
keyvault_metadata |
Keyvault specifications if used as a scope backend |
name |
Secret scope name
TYPE:
|
permissions |
Permissions given to the secret scope
TYPE:
|
secrets |
List of secret to add to the scope |
Examples:
from laktory import models
ss = models.resources.databricks.SecretScope(
name="azure",
secrets=[
{"key": "keyvault-url", "value": "https://my-secrets.vault.azure.net/"},
{"key": "client-id", "value": "f461daa2-c281-4166-bc3e-538b90223184"},
],
permissions=[
{"permission": "READ", "principal": "role-metastore-admins"},
{"permission": "READ", "principal": "role-workspace-admins"},
],
)
ATTRIBUTE | DESCRIPTION |
---|---|
additional_core_resources |
TYPE:
|