Teradata Package for Python Function Reference on VantageCloud Lake - authenticate - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.
Teradata® Package for Python Function Reference on VantageCloud Lake
- Deployment
- VantageCloud
- Edition
- Lake
- Product
- Teradata Package for Python
- Release Number
- 20.00.00.11
- Publication Date
- August 2026
- Content Type
- Programming Reference
- Publication ID
- B700-4500-200K
- ft:locale
- en-US
- ft:lastEdition
- 2026-08-13
- ft:sourceId
- FTML
- dita:id
- TeradataPython_FxRef_Lake_2000
- Product Category
- Teradata Vantage
- teradataml.sdk.ClientCredentialsAuth.authenticate = authenticate(self)
- DESCRIPTION:
Authenticates using client credentials and fetches the access token.
PARAMETERS:
None
RETURNS:
requests.Session: Authenticated session with the access token.
RAISES:
None
EXAMPLES:
>>> from teradataml.sdk import ClientCredentialsAuth
>>> auth = ClientCredentialsAuth(
auth_token_url="https://example.com/token",
auth_client_id="your_client_id",
auth_client_secret="your_client_secret"
)
>>> session = auth.authenticate()