def METHOD_NAME(self, conf):
    """
    Check that the configuration contains all necessary keys.
    :type conf: dict
    :rtype: None
    :raise SATOSAConfigurationError: if the configuration is incorrect
    :param conf: config to verify
    :return: None
    """
    if not conf:
        raise SATOSAConfigurationError("Missing configuration or unknown format")
    for key in SATOSAConfig.mandatory_dict_keys:
        if key not in conf:
            raise SATOSAConfigurationError("Missing key '%s' in config" % key)
    for key in SATOSAConfig.sensitive_dict_keys:
        if key not in conf and f"SATOSA_{key}" not in os.environ:
            raise SATOSAConfigurationError(f"Missing key '{key}' from config and ENVIRONMENT")