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.
- GoogleIdentityStsV1Jwk
- A JSON web key set (JWK) See also https://datatracker.ietf.org/doc/html/rfc7517 and https://github.com/spiffe/spiffe/blob/main/standards/JWT-SVID.md#6-representation-in-the-spiffe-bundle
- GoogleIdentityStsV1Jwks
- Response message for GetJwks.
- GoogleIdentityStsV1OpenIdProviderConfig
- Response message for GetOpenIdProviderConfig.
- OrganizationsLocationsResource
- OrganizationsLocationsWorkloadIdentityPoolsOpenidResource
- OrganizationsLocationsWorkloadIdentityPoolsResource
- OrganizationsLocationsWorkloadIdentityPoolsWellKnownResource
- OrganizationsResource
- ProjectsLocationsResource
- ProjectsLocationsWorkloadIdentityPoolsOpenidResource
- ProjectsLocationsWorkloadIdentityPoolsResource
- ProjectsLocationsWorkloadIdentityPoolsWellKnownResource
- ProjectsResource
- V1Resource
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.