Interface ServicePrincipalSecretsService
-
@Generated public interface ServicePrincipalSecretsService
These APIs enable administrators to manage service principal secrets.You can use the generated secrets to obtain OAuth access tokens for a service principal, which can then be used to access Databricks Accounts and Workspace APIs. For more information, see [Authentication using OAuth tokens for service principals],
In addition, the generated secrets can be used to configure the Databricks Terraform Provider to authenticate with the service principal. For more information, see [Databricks Terraform Provider].
[Authentication using OAuth tokens for service principals]: https://docs.databricks.com/dev-tools/authentication-oauth.html [Databricks Terraform Provider]: https://github.com/databricks/terraform-provider-databricks/blob/master/docs/index.md#authenticating-with-service-principal
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateServicePrincipalSecretResponse
create(CreateServicePrincipalSecretRequest createServicePrincipalSecretRequest)
Create service principal secret.void
delete(DeleteServicePrincipalSecretRequest deleteServicePrincipalSecretRequest)
Delete service principal secret.ListServicePrincipalSecretsResponse
list(ListServicePrincipalSecretsRequest listServicePrincipalSecretsRequest)
List service principal secrets.
-
-
-
Method Detail
-
create
CreateServicePrincipalSecretResponse create(CreateServicePrincipalSecretRequest createServicePrincipalSecretRequest)
Create service principal secret.Create a secret for the given service principal.
-
delete
void delete(DeleteServicePrincipalSecretRequest deleteServicePrincipalSecretRequest)
Delete service principal secret.Delete a secret from the given service principal.
-
list
ListServicePrincipalSecretsResponse list(ListServicePrincipalSecretsRequest listServicePrincipalSecretsRequest)
List service principal secrets.List all secrets associated with the given service principal. This operation only returns information about the secrets themselves and does not include the secret values.
-
-