Files
docs-harvester/get-token.py
Slawomir Koszewski 44dcbe7fa9
All checks were successful
/ unit-tests (push) Successful in 48s
Add get-token script to retrieve authentication token
2025-11-06 23:27:55 +01:00

12 lines
252 B
Python
Executable File

#!/usr/bin/env python3
from sk.azure import get_token
token = get_token(
tenant_id="a7740229-47b6-45de-ad22-83721462b1bf",
client_id="840671c4-5dc4-40e5-aab9-7c3a07bbd652",
pem_path="./slawek-mba.pem"
)
print(f"Obtained token: {token}")