JWT authentication

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

Prerequisites:

  • The user must already exist in the database.
  • The database must be JWT enabled.

Request

import requests
import json
requests.packages.urllib3.disable_warnings()

# run it from local. 

auth_encoded_jwt = "<YOUR_JWT_HERE>"
auth_str = "Bearer " + auth_encoded_jwt

headers = {
  'Content-Type': 'application/json',
  'Authorization': auth_str
}

print(headers)

Response

{'Content-Type': 'application/json', 'Authorization': 'Bearer <YOUR_JWT_HERE>'}