sts/v1 library

Security Token Service API - v1

The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.

For more information, see cloud.google.com/iam/docs/workload-identity-federation

Create an instance of CloudSecurityTokenApi to access these resources:

Classes

CloudSecurityTokenApi
The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.
GoogleIdentityStsV1ExchangeTokenRequest
Request message for ExchangeToken.
GoogleIdentityStsV1ExchangeTokenResponse
Response message for ExchangeToken.
V1Resource

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.