def load_secret(filename="/run/secrets/flask.key"):
    """Load a secret key from file."""
    print(f"Reading secret key from {filename}")
    with open(filename, "r") as stream:
        key = stream.read()
    return key