> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nerdit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rotate Secrets Key

> Reference for merged 0.6.0 source. The latest verified binary release is 0.5.5; use your Engine’s /api/openapi.json for its installed contract.



## OpenAPI

````yaml /engine/openapi.json post /api/secrets/rotate-key
openapi: 3.1.0
info:
  title: nerditd
  version: 0.6.0
  description: >-
    Current source interface (0.6.0); verify your installed Engine version. This
    is not a claim that 0.6.0 is released.
servers:
  - url: http://127.0.0.1:9321
    description: Default local Engine; use your configured endpoint.
security: []
paths:
  /api/secrets/rotate-key:
    post:
      tags:
        - Secrets
      summary: Rotate Secrets Key
      description: >-
        Reference for merged 0.6.0 source. The latest verified binary release is
        0.5.5; use your Engine’s /api/openapi.json for its installed contract.
      operationId: rotate_secrets_key
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RotateKeyResponse'
          description: HTTP 200 response
components:
  schemas:
    RotateKeyResponse:
      properties:
        services_rewritten:
          type: integer
          title: Services Rewritten
      type: object
      required:
        - services_rewritten
      title: RotateKeyResponse

````