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.
- GoogleIdentityStsV1ExchangeOauthTokenRequest
- Request message for ExchangeOauthToken
- GoogleIdentityStsV1ExchangeOauthTokenResponse
- Response message for ExchangeOauthToken.
- GoogleIdentityStsV1ExchangeTokenRequest
- Request message for ExchangeToken.
- GoogleIdentityStsV1ExchangeTokenResponse
- Response message for ExchangeToken.
- GoogleIdentityStsV1IntrospectTokenRequest
- Request message for IntrospectToken.
- GoogleIdentityStsV1IntrospectTokenResponse
- Response message for IntrospectToken.
- V1Resource
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.