ClientSecretCredential Class
Authenticates as a service principal using a client secret.
- Inheritance
-
azure.identity._internal.client_credential_base.ClientCredentialBaseClientSecretCredential
Constructor
ClientSecretCredential(tenant_id: str, client_id: str, client_secret: str, **kwargs: Any)
Parameters
- authority
- str
Authority of an Azure Active Directory endpoint, for example "login.microsoftonline.com", the authority for Azure Public Cloud (which is the default). AzureAuthorityHosts defines authorities for other clouds.
- cache_persistence_options
- TokenCachePersistenceOptions
configuration for persistent token caching. If unspecified, the credential will cache tokens in memory.
Feedback
Submit and view feedback for