capabilities.work

OpenShift Configure Cluster Identity Provider

A 3-step recipe with Red Hat. We can help you get access.

Recipe · 3 steps

OpenShift Configure Cluster Identity Provider

with Red Hat · IT Infrastructure Management

Locate a cluster, confirm readiness, and add a GitHub identity provider.

  1. Search the account's clusters for one matching the supplied expression and capture the first match.
  2. Retrieve the matched cluster's full record to confirm its state before configuring authentication.
  3. Configure a GitHub identity provider on the cluster so users in the listed organizations can authenticate.
What you'll need to have ready
  • token: OCM bearer token for the Cluster Manager API.
  • search: A search expression used to locate the target cluster.
  • idpName: The name for the new identity provider.
  • mappingMethod: How identities map to OpenShift users (e.g. "claim" or "add").
  • clientId: The OAuth client id registered with the identity provider.
  • organizations: GitHub organizations permitted to authenticate.
For your developer

Arazzo workflow red-hat:configure-cluster-identity, 3 operations: listClusters → getCluster → createIdentityProvider. Specs on APIs.io.