temporary_table_credentials
Operations on a temporary_table_credentials
resource.
Overview
Name | temporary_table_credentials |
Type | Resource |
Id | databricks_workspace.unitycatalog.temporary_table_credentials |
Fields
Name | Datatype |
---|---|
aws_temp_credentials | object |
azure_user_delegation_sas | object |
expiration_time | integer |
gcp_oauth_token | object |
r2_temp_credentials | object |
url | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
generatetemporarytablecredentials | SELECT | deployment_name | Get a short-lived credential for directly accessing the table data on cloud storage. The metastore must have external_access_enabled flag set to true (default false). The caller must have EXTERNAL_USE_SCHEMA privilege on the parent schema and this privilege can only be granted by catalog owners. |
SELECT
examples
SELECT
aws_temp_credentials,
azure_user_delegation_sas,
expiration_time,
gcp_oauth_token,
r2_temp_credentials,
url
FROM databricks_workspace.unitycatalog.temporary_table_credentials
WHERE deployment_name = '{{ deployment_name }}';