ray.serve.grpc_util.RayServegRPCContext.peer_identity_key#

RayServegRPCContext.peer_identity_key() str | None[source]#

The auth property used to identify the peer.

For example, “x509_common_name” or “x509_subject_alternative_name” are used to identify an SSL peer.

Returns:

The auth property (string) that indicates the peer identity, or None if the call is not authenticated.