def apicast_auth_httpbin_host_expected_code(request):
    """
    Returns authority for setting the ca_certificates in the policy settings at APIcast,
    hostname used by the upstream certificate and the expected return code.
    """
    return request.getfixturevalue(request.param[0]) if request.param[0] is not None else None,\
        request.getfixturevalue(request.param[1]), request.param[2]