Amazon Secrets Manager · Capability

Amazon Secrets Manager API — Rotation

Amazon Secrets Manager API — Rotation. 1 operations. Lead operation: Amazon Secrets Manager Rotate Secret. Self-contained Naftiko capability covering one Amazon Secrets Manager business surface.

Run with Naftiko Amazon Secrets ManagerRotation

What You Can Do

POST
Rotatesecret — Amazon Secrets Manager Rotate Secret
/v1/rotatesecret

MCP Tools

amazon-secrets-manager-rotate-secret

Amazon Secrets Manager Rotate Secret

Capability Spec

amazon-secrets-manager-rotation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Secrets Manager API — Rotation
  description: 'Amazon Secrets Manager API — Rotation. 1 operations. Lead operation: Amazon Secrets Manager Rotate Secret.
    Self-contained Naftiko capability covering one Amazon Secrets Manager business surface.'
  tags:
  - Amazon Secrets Manager
  - Rotation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_SECRETS_MANAGER_API_KEY: AMAZON_SECRETS_MANAGER_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-secrets-manager-rotation
    baseUri: https://secretsmanager.amazonaws.com
    description: Amazon Secrets Manager API — Rotation business capability. Self-contained, no shared references.
    resources:
    - name: '#RotateSecret'
      path: /#RotateSecret
      operations:
      - name: rotatesecret
        method: POST
        description: Amazon Secrets Manager Rotate Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Amz-Target
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: amazon-secrets-manager-rotation-rest
    port: 8080
    description: REST adapter for Amazon Secrets Manager API — Rotation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/rotatesecret
      name: rotatesecret
      description: 'REST surface for #RotateSecret.'
      operations:
      - method: POST
        name: rotatesecret
        description: Amazon Secrets Manager Rotate Secret
        call: amazon-secrets-manager-rotation.rotatesecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-secrets-manager-rotation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Secrets Manager API — Rotation. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-secrets-manager-rotate-secret
      description: Amazon Secrets Manager Rotate Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-rotation.rotatesecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.