Stay organized with collections
Save and categorize content based on your preferences.
The Identity and Access Management (IAM) API uses Kubernetes custom resources
to manage the control access for identity providers.
To use the IAM API, use the GDC console. If
your application uses your own libraries to call the API, adopt the example
service endpoint in the following section, and the
full API definitions to build your requests:
The MANAGEMENT_API_SERVER_ENDPOINT variable is the
endpoint of the Management API server.
Using the kubectl proxy command, access the URL in your browser to
obtain the discovery document for the IAM API. The kubectl proxy command opens
up a proxy on 127.0.0.1:8001 to the Kubernetes API server on your local
machine. After that command is running, access the documents at the
following URLs:
http://127.0.0.1:8001/apis/iam.gdc.goog/v1
http://127.0.0.1:8001/apis/iam.global.gdc.goog/v1
Example resources
The following is a sample IdentityProviderConfig resource:
[[["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-04-12 UTC."],[[["The Identity and Access Management (IAM) API uses Kubernetes custom resources to manage access for identity providers."],["The IAM API can be accessed through the GDC console or by using application-specific libraries, utilizing provided API endpoints and definitions."],["IAM APIs are available in zonal and global deployments, each with distinct API endpoint URLs, using the format `https://MANAGEMENT_API_SERVER_ENDPOINT/apis/iam.gdc.goog/v1` for zonal and `https://MANAGEMENT_API_SERVER_ENDPOINT/apis/iam.global.gdc.goog/v1` for global."],["The discovery document for the IAM API can be obtained by using `kubectl proxy` which will allow accessing the API on `127.0.0.1:8001` from your local machine."],["A sample `IdentityProviderConfig` resource is provided, demonstrating the configuration for an identity provider with fields such as `clientID`, `issuerURI`, and `scopes`."]]],[]]