---
title: "Rotate Secret"
method: POST
path: "/v1/secrets/{secret_id}/rotate"
tags: ["secrets"]
---

# Rotate Secret

`POST /v1/secrets/{secret_id}/rotate`

Begin a rotation — returns new temporary write-only STS credentials for the
same secret ARN. The MCP client writes the new value directly to Secrets Manager.
All templates referencing this secret automatically use the new value.

## Path parameters

- `secret_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
