async def METHOD_NAME(app_path, creds_path, staple=False):
    """Call rcodesign notary-submit
    Args:
        app_path (str): Path to notarize
        creds_path (str): Path to credentials file
        staple (boolean): If rcodesign should staple (wait and staple in one go)
    Returns:
        (str) The submission id
    """
    command = ["rcodesign", "notary-submit"]
    if staple:
        command.append("--staple")
    command.extend(["--api-key-path", creds_path, app_path])
    exitcode, logs = await _execute_command(command)
    if exitcode > 0:
        raise RCodesignError(f"Error notarizing app. Exit code {exitcode}")
    return find_submission_id(logs)