Red Hat · Arazzo Workflow

Red Hat OpenShift Configure Cluster Identity Provider

Version 1.0.0

Find a cluster by name, confirm it is ready, then attach an identity provider.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CloudContainersEnterpriseHybrid CloudKubernetesLinuxOpen-SourceArazzoWorkflows

Provider

red-hat

Workflows

configure-cluster-identity
Locate a cluster, confirm readiness, and add a GitHub identity provider.
Searches clusters by name, gets the matched cluster, and creates an identity provider on it for user authentication.
3 steps inputs: clientId, idpName, mappingMethod, organizations, search, token outputs: clusterId, identityProviderId
1
findCluster
Search the account's clusters for one matching the supplied expression and capture the first match.
2
getCluster
Retrieve the matched cluster's full record to confirm its state before configuring authentication.
3
createIdentityProvider
Configure a GitHub identity provider on the cluster so users in the listed organizations can authenticate.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Red Hat OpenShift Configure Cluster Identity Provider
  summary: Find a cluster by name, confirm it is ready, then attach an identity provider.
  description: >-
    A day-two configuration flow for the Red Hat OpenShift Cluster Manager. The
    workflow searches the account's clusters for one matching the supplied name,
    retrieves its full record to confirm it is ready to accept configuration,
    and configures a new identity provider so users can authenticate. Each step
    inlines its bearer token, parameters, request body, documented success
    criteria, and outputs.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.50
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600.50
      capability_name: IT Infrastructure Management
      spec: red-hat-clusters-api-openapi.yml
      confidence: 0.85
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: red-hat-identity-providers-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: clustersApi
  url: ../openapi/red-hat-clusters-api-openapi.yml
  type: openapi
- name: identityProvidersApi
  url: ../openapi/red-hat-identity-providers-api-openapi.yml
  type: openapi
workflows:
- workflowId: configure-cluster-identity
  summary: Locate a cluster, confirm readiness, and add a GitHub identity provider.
  description: >-
    Searches clusters by name, gets the matched cluster, and creates an identity
    provider on it for user authentication.
  inputs:
    type: object
    required:
    - token
    - search
    - idpName
    - clientId
    properties:
      token:
        type: string
        description: OCM bearer token for the Cluster Manager API.
      search:
        type: string
        description: A search expression used to locate the target cluster.
      idpName:
        type: string
        description: The name for the new identity provider.
      mappingMethod:
        type: string
        description: How identities map to OpenShift users (e.g. "claim" or "add").
      clientId:
        type: string
        description: The OAuth client id registered with the identity provider.
      organizations:
        type: array
        description: GitHub organizations permitted to authenticate.
        items:
          type: string
  steps:
  - stepId: findCluster
    description: >-
      Search the account's clusters for one matching the supplied expression and
      capture the first match.
    operationId: listClusters
    parameters:
    - name: search
      in: query
      value: $inputs.search
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      clusterId: $response.body#/items/0/id
    onSuccess:
    - name: matched
      type: goto
      stepId: getCluster
      criteria:
      - context: $response.body
        condition: $.total > 0
        type: jsonpath
    - name: noMatch
      type: end
      criteria:
      - context: $response.body
        condition: $.total == 0
        type: jsonpath
  - stepId: getCluster
    description: >-
      Retrieve the matched cluster's full record to confirm its state before
      configuring authentication.
    operationId: getCluster
    parameters:
    - name: cluster_id
      in: path
      value: $steps.findCluster.outputs.clusterId
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
  - stepId: createIdentityProvider
    description: >-
      Configure a GitHub identity provider on the cluster so users in the listed
      organizations can authenticate.
    operationId: createIdentityProvider
    parameters:
    - name: cluster_id
      in: path
      value: $steps.findCluster.outputs.clusterId
    - name: Authorization
      in: header
      value: Bearer $inputs.token
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.idpName
        type: github
        mapping_method: $inputs.mappingMethod
        github:
          client_id: $inputs.clientId
          organizations: $inputs.organizations
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      identityProviderId: $response.body#/id
  outputs:
    clusterId: $steps.findCluster.outputs.clusterId
    identityProviderId: $steps.createIdentityProvider.outputs.identityProviderId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/red-hat-openshift-configure-cluster-identity-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.