---
title: "Get a cluster config with OIDC login"
method: GET
path: "/api/v1/orgs/{orgId}/clusters/{id}/oidcconfig"
tags: ["clusters"]
---

# Get a cluster config with OIDC login

`GET /api/v1/orgs/{orgId}/clusters/{id}/oidcconfig`

Getting a K8S cluster config file with OIDC credentials

## Path parameters

- `orgId` integer, required
- `id` integer, required

## Response `200`

Getting config file succeeded

- ClusterConfig
  - `status` integer
  - `data` string

## Other responses

- `default` — Internal server error

---

[API](https://skmtc.net/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.net/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/banzaicloud/pipeline-api/versions/a2e35c430378/schema)
