def METHOD_NAME(config: Mapping[str, Any]) -> Mapping[str, Any]:
    """
    Adds an authenticator entry to the config and returns the config.
    """
    config["authenticator"] = SourceBambooHr._get_authenticator(config["api_key"])
    return config