w.credentials_manager
: Credentials Manager¶
- class databricks.sdk.service.settings.CredentialsManagerAPI¶
Credentials manager interacts with with Identity Providers to to perform token exchanges using stored credentials and refresh tokens.
- exchange_token(partition_id: PartitionId, token_type: List[TokenType], scopes: List[str]) ExchangeTokenResponse ¶
Exchange token.
Exchange tokens with an Identity Provider to get a new access token. It allows specifying scopes to determine token permissions.
- Parameters:
partition_id –
PartitionId
The partition of Credentials storetoken_type – List[
TokenType
] A list of token types being requestedscopes – List[str] Array of scopes for the token request.
- Returns: