---
title: "Set Multi Key Secret"
method: PUT
path: "/api/v1/secrets/{secret_name}"
tags: ["secure", "secrets"]
---

# Set Multi Key Secret

`PUT /api/v1/secrets/{secret_name}`

Stores multiple key-value pairs under a single secret name in the key store.
NOTE: {secret_name} is legacy and is not used - calculated automatically

Args:
    secret_name (str): The secret name (legacy, not used - kept for backward compatibility).
    secret_keys (SecretKeyModel): The secret key/value pairs to set.

Returns:
    OperationResponse: The operation response.

## Path parameters

- `secret_name` string, required

## Request body

- SecretKeyModel

## Response `200`

Secrets were set successfully

- OperationResponse — Represents the response of an operation.
  - `status` boolean, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/redis/apis/redis-data-integration-api.md) · [All operations](https://skmtc.net/redis/apis/redis-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redis/redis-data-integration-api/versions/30f630f0aac5/schema)
