credentials_manager
Creates, updates, deletes, gets or lists a credentials_manager resource.
Overview
| Name | credentials_manager |
| Type | Resource |
| Id | databricks_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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
exchange_token | insert | deployment_name, partition_id, token_type, scopes | Exchange 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.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
INSERT examples
- exchange_token
- Manifest
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
;
# Description fields are for documentation purposes
- name: credentials_manager
props:
- name: deployment_name
value: "{{ deployment_name }}"
description: Required parameter for the credentials_manager resource.
- name: partition_id
description: |
The partition of Credentials store
value:
workspaceId: {{ workspaceId }}
- name: token_type
value:
- "{{ token_type }}"
description: |
A list of token types being requested
- name: scopes
value:
- "{{ scopes }}"
description: |
Array of scopes for the token request.