code: def _get_key_info(self):
          
          if self._key_info_cache is None:
              self._key_info_cache = agent_key_info_from_key_id(self.key_id)
          return self._key_info_cache
docs: Get key info appropriate for signing.