class_docstr: Context manager to set and get gRPC context.
  
  This class implements most of the methods from ServicerContext
  (see: https://grpc.github.io/grpc/python/grpc.html#grpc.ServicerContext). It's
  serializable and can be passed with the request to be used on the deployment.
class_docstr_tok: ["Context","manager","to","set","and","get","gRPC","context",".","This","class","implements","most","of","the","methods","from","ServicerContext","(","see",":","https",":","\/\/grpc.github.io\/grpc\/python\/grpc.html","#","grpc.ServicerContext",")",".","It's","serializable","and","can","be","passed","with","the","request","to","be","used","on","the","deployment","."]
docstr: 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.
docstr_tok: ["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","."]
code: def peer_identity_key(self) -> Optional[str]:
      """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.
      """
      return self._peer_identity_key
  
file_path: ray/python/ray/serve/grpc_util.py
imports: from typing import Any, Dict, List, Optional, Tuple
  import grpc
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 8 for calling the RayServegRPCContext obj's underlying member method code with example usage: obj.peer_identity_key() and returns: self