def get_credential_key(self):
    """Generates a hash key based on auth_scheme and raw_auth_credential. This
    hash key can be used to store / retrieve exchanged_auth_credential in a
    credentials store.
    """
    auth_scheme = self.auth_scheme

    if auth_scheme.model_extra:
      auth_scheme = auth_scheme.model_copy(deep=True)
      auth_scheme.model_extra.clear()
    scheme_name = (
        f"{auth_scheme.type_.name}_{hash(auth_scheme.model_dump_json())}"
        if auth_scheme
        else ""
    )

    auth_credential = self.raw_auth_credential
    if auth_credential.model_extra:
      auth_credential = auth_credential.model_copy(deep=True)
      auth_credential.model_extra.clear()
    credential_name = (
        f"{auth_credential.auth_type.value}_{hash(auth_credential.model_dump_json())}"
        if auth_credential
        else ""
    )

    return f"adk_{scheme_name}_{credential_name}"
Generates a hash key based on auth_scheme and raw_auth_credential. This
    hash key can be used to store / retrieve exchanged_auth_credential in a
    credentials store.
    
src/google/adk/auth/auth_tool.py