Add DNS record management module for Mail-in-a-Box
This commit is contained in:
7
miab/__init__.py
Normal file
7
miab/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Initializer for helpers package
|
||||
|
||||
from os import getenv
|
||||
from base64 import b64encode
|
||||
|
||||
MIAB_HOST = getenv('MIAB_HOST', 'box.koszewscy.waw.pl')
|
||||
MIAB_AUTH_HEADER = "Basic " + b64encode(f"{getenv('MIAB_USERNAME', 'admin')}:{getenv('MIAB_PASSWORD', 'password')}".encode()).decode()
|
||||
Reference in New Issue
Block a user