webhook/settings.py
2023-02-22 20:12:13 +01:00

9 lines
252 B
Python

import os
'''
This variable stores the secret key (as a string) for calculating the signature
to compare it with the one in the request. This secret key must be equal to the
one set in the web-hook settings.
'''
SECRET_KEY = os.environ['WEBHOOK_KEY']