Agent Identity Credentials API (agentidentitycredentials:v1beta)

2026-07-22

2 new methods | New API

Additions

    Methods
  • agentidentitycredentials.projects.locations.authProviders.credentials.retrieve

      Path : v1beta/{+authProvider}/credentials:retrieve

      HTTP Method : POST

      Flat Path : v1beta/projects/{projectsId}/locations/{locationsId}/authProviders/{authProvidersId}/credentials:retrieve

      Description : Retrieves authorization credentials for an authprovider, or indicates what action needs to be taken to obtain credentials. If the `token` field in the response is populated, credential retrieval was successful. If one of the fields in the `status` oneof is populated, further action is required to obtain credentials, such as redirecting the user for consent. View comments on `RetrieveCredentialsResponse` for more information.

      Parameters :

        authProvider

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+/authProviders/[^/]+$

          Type : string

          Required : Yes

          Description : Required. The parent resource name of the AuthProvider. Format: `projects/{project}/locations/{location}/authProviders/{auth_provider}`

      Parameter Order : authProvider

      Scopes : https://www.googleapis.com/auth/cloud-platform

  • agentidentitycredentials.projects.locations.authProviders.credentials.finalize

      Parameter Order : authProvider

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        authProvider

          Required : Yes

          Pattern : ^projects/[^/]+/locations/[^/]+/authProviders/[^/]+$

          Type : string

          Location : path

          Description : Required. The resource name of the AuthProvider. Format: `projects/{project}/locations/{location}/authProviders/{auth_provider}`

      Flat Path : v1beta/projects/{projectsId}/locations/{locationsId}/authProviders/{authProvidersId}/credentials:finalize

      Description : Finalizes the credentials after a successful consent flow.

      HTTP Method : POST

      Path : v1beta/{+authProvider}/credentials:finalize