public class AzureCliCredentialsProvider extends Object implements CredentialsProvider
| Constructor and Description |
|---|
AzureCliCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
authType()
Returns the authentication type identifier for this credentials provider.
|
OAuthHeaderFactory |
configure(DatabricksConfig config)
Creates and returns a new HeaderFactory to authenticate requests to the Databricks API.
|
protected CachedTokenSource |
getTokenSource(DatabricksConfig config,
List<String> cmd) |
CachedTokenSource |
tokenSourceFor(DatabricksConfig config,
String resource) |
public static final String AZURE_CLI
public String authType()
CredentialsProviderauthType in interface CredentialsProviderpublic CachedTokenSource tokenSourceFor(DatabricksConfig config, String resource)
protected CachedTokenSource getTokenSource(DatabricksConfig config, List<String> cmd)
public OAuthHeaderFactory configure(DatabricksConfig config)
CredentialsProviderNote: A new HeaderFactory instance is returned on each invocation.
configure in interface CredentialsProviderconfig - the Databricks configuration to use for authenticationCopyright © 2025. All rights reserved.