Skip to main content

temporary_path_credentials

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

Overview

Nametemporary_path_credentials
TypeResource
Iddatabricks_workspace.catalog.temporary_path_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
generateinsertdeployment_name, url, operationGet a short-lived credential for directly accessing cloud storage locations registered in Databricks.

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 cloud storage locations registered in Databricks.

INSERT INTO databricks_workspace.catalog.temporary_path_credentials (
url,
operation,
dry_run,
deployment_name
)
SELECT
'{{ url }}' /* required */,
'{{ operation }}' /* required */,
{{ dry_run }},
'{{ deployment_name }}'
RETURNING
aws_temp_credentials,
azure_aad,
azure_user_delegation_sas,
expiration_time,
gcp_oauth_token,
r2_temp_credentials,
url
;