Skip to main content

temporary_volume_credentials

Creates, updates, deletes, gets or lists a temporary_volume_credentials resource.

Overview

Nametemporary_volume_credentials
TypeResource
Iddatabricks_workspace.catalog.temporary_volume_credentials

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
temporary_volume_credentials_generate_temporary_volume_credentialsinsertdeployment_nameGet a short-lived credential for directly accessing the volume data on cloud storage. The metastore

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

INSERT examples

Get a short-lived credential for directly accessing the volume data on cloud storage. The metastore

INSERT INTO databricks_workspace.catalog.temporary_volume_credentials (
operation,
volume_id,
deployment_name
)
SELECT
'{{ operation }}',
'{{ volume_id }}',
'{{ deployment_name }}'
RETURNING
aws_temp_credentials,
azure_aad,
azure_user_delegation_sas,
expiration_time,
gcp_oauth_token,
r2_temp_credentials,
uc_encrypted_token,
url
;