Add get-token script to retrieve authentication token
All checks were successful
/ unit-tests (push) Successful in 48s

This commit is contained in:
2025-11-06 23:27:55 +01:00
parent d3344b8799
commit 44dcbe7fa9

11
get-token.py Executable file
View File

@@ -0,0 +1,11 @@
#!/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}")