import yaml


def getSecrets(filepath):
    """
    Load secret database parameters.
    :param filepath: path to a .yaml file
    Returns dict.
    """
    with open(filepath, 'r') as f:
        secrets = yaml.safe_load(f)
    return secrets