---
title: "Install secrets into cluster"
method: POST
path: "/api/v1/orgs/{orgId}/clusters/{id}/secrets"
tags: ["clusters"]
---

# Install secrets into cluster

`POST /api/v1/orgs/{orgId}/clusters/{id}/secrets`

Install secrets into cluster

## Path parameters

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

## Request body

- InstallSecretsRequest
  - `namespace` string, required
  - `query` InstallSecretsRequestQuery
    - `type` string
    - `ids` string[]
    - `tags` string[]

## Response `200`

Secrets are installed into cluster

- InstallSecretResponse[]
  - `name` string, required

## Other responses

- `default` — Internal server error

## Changes

- **2026-07-17** `a2e35c430378` — 1 breaking
  - the `query` request property type changed from no type to `object`
- **2020-04-24** `5186ea64aa56` — 1 breaking
  - the `query` request property type changed from `object` to no type

[Change history](https://skmtc.dev/banzaicloud/apis/pipeline-api/changes/api/v1/orgs/:orgId/clusters/:id/secrets/post.md)

---

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