6 lines
215 B
Python
6 lines
215 B
Python
#!/usr/bin/env python3
|
|
# Generate a fresh HMAC key for signing telemetry packets.
|
|
# Prints the key once; store it in the collector's .env yourself.
|
|
import os, base64
|
|
print(base64.b64encode(os.urandom(32)).decode())
|