Skip to main content

credentials_manager

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

Overview

Namecredentials_manager
TypeResource
Iddatabricks_workspace.settings.credentials_manager

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
exchange_tokeninsertdeployment_name, partition_id, token_type, scopesExchange tokens with an Identity Provider to get a new access token. It allows specifying scopes to

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

Exchange tokens with an Identity Provider to get a new access token. It allows specifying scopes to

INSERT INTO databricks_workspace.settings.credentials_manager (
partition_id,
token_type,
scopes,
deployment_name
)
SELECT
'{{ partition_id }}' /* required */,
'{{ token_type }}' /* required */,
'{{ scopes }}' /* required */,
'{{ deployment_name }}'
RETURNING
values
;