Security Token Service API . projects . locations . workloadIdentityPools . openid

Instance Methods

close()

Close httplib2 connections.

getJwks(name, x__xgafv=None)

Fetches the signing keys for an agentic or managed workload identity pool and returns them in JWKs format, defined in [RFC 7517](https://tools.ietf.org/html/rfc7517). For now, only agentic system pools are supported.

Method Details

close()
Close httplib2 connections.
getJwks(name, x__xgafv=None)
Fetches the signing keys for an agentic or managed workload identity pool and returns them in JWKs format, defined in [RFC 7517](https://tools.ietf.org/html/rfc7517). For now, only agentic system pools are supported.

Args:
  name: string, Required. The name of the pool whose JWKS needs to be retrieved. Format: 'organizations/{ORGANIZATION_NUMBER}/locations/global/workloadIdentityPools/{POOL_ID}' 'projects/{PROJECT_NUMBER}/locations/global/workloadIdentityPools/{POOL_ID}' Example(s): 'organizations/1234/locations/global/workloadIdentityPools/agents.global.org-1234.system.id.goog' 'projects/12345678/locations/global/workloadIdentityPools/agents.global.proj-12345678.system.id.goog' (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for GetJwks.
  "keys": [ # The JWKS for this OP.
    { # 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
      "e": "A String", # Exponent value for kty="RSA".
      "kid": "A String", # Key ID.
      "kty": "A String", # Key type. Currently "RSA".
      "n": "A String", # Modulus value for kty="RSA".
      "use": "A String", # Public key use. Currently "jwt-svid".
    },
  ],
}