def METHOD_NAME():
    """Get credentials from config"""
    if not CONFIG:
        raise ConfigError("Configuration is not passed")
    try:
        return CONFIG["credentials"]
    except KeyError:
        raise ConfigError("Credentials configurations are missing from config")