Stay organized with collections
Save and categorize content based on your preferences.
Gets the OIDC discovery document for the cluster. See the OpenID
Connect Discovery 1.0
specification
for details. This API is not yet intended for general use, and is not
available for all clusters.
Arguments
Parameters
parent
string
Required. The cluster (project, location, cluster id) to get the discovery document for. Specified in the format projects/*/locations/*/clusters/*.
Raised exceptions
Exceptions
ConnectionError
In case of a network problem (such as DNS failure or refused connection).
HttpError
If the response status is >= 400 (excluding 429 and 503).
TimeoutError
If a long-running operation takes longer to finish than the specified timeout limit.
TypeError
If an operation or function receives an argument of the wrong type.
ValueError
If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Method: googleapis.container.v1.projects.locations.clusters.well_known.getOpenid_configuration\n\nGets the OIDC discovery document for the cluster. See the [OpenID\nConnect Discovery 1.0\nspecification](https://openid.net/specs/openid-connect-discovery-1_0.html)\nfor details. This API is not yet intended for general use, and is not\navailable for all clusters.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`GetOpenIDConfigResponse`](/workflows/docs/reference/googleapis/container/v1/Overview#GetOpenIDConfigResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.well-known/getOpenid-configuration). \n\n### YAML\n\n```yaml\n- getOpenid_configuration:\n call: googleapis.container.v1.projects.locations.clusters.well_known.getOpenid_configuration\n args:\n parent: ...\n result: getOpenid_configurationResult\n```\n\n### JSON\n\n```json\n[\n {\n \"getOpenid_configuration\": {\n \"call\": \"googleapis.container.v1.projects.locations.clusters.well_known.getOpenid_configuration\",\n \"args\": {\n \"parent\": \"...\"\n },\n \"result\": \"getOpenid_configurationResult\"\n }\n }\n]\n```"]]