Amazon Secrets Manager · Capability

Amazon Secrets Manager API — Secrets

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

Run with Naftiko Amazon Secrets ManagerSecrets

What You Can Do

POST
Createsecret — Amazon Secrets Manager Create Secret
/v1
POST
Deletesecret — Amazon Secrets Manager Delete Secret
/v1/deletesecret
POST
Describesecret — Amazon Secrets Manager Describe Secret
/v1/describesecret
POST
Getsecretvalue — Amazon Secrets Manager Get Secret Value
/v1/getsecretvalue
POST
Listsecrets — Amazon Secrets Manager List Secrets
/v1/listsecrets
POST
Putsecretvalue — Amazon Secrets Manager Put Secret Value
/v1/putsecretvalue
POST
Restoresecret — Amazon Secrets Manager Restore Secret
/v1/restoresecret
POST
Updatesecret — Amazon Secrets Manager Update Secret
/v1/updatesecret

MCP Tools

amazon-secrets-manager-create-secret

Amazon Secrets Manager Create Secret

amazon-secrets-manager-delete-secret

Amazon Secrets Manager Delete Secret

amazon-secrets-manager-describe-secret

Amazon Secrets Manager Describe Secret

amazon-secrets-manager-get-secret

Amazon Secrets Manager Get Secret Value

read-only
amazon-secrets-manager-list-secrets

Amazon Secrets Manager List Secrets

read-only
amazon-secrets-manager-put-secret

Amazon Secrets Manager Put Secret Value

amazon-secrets-manager-restore-secret

Amazon Secrets Manager Restore Secret

amazon-secrets-manager-update-secret

Amazon Secrets Manager Update Secret

Capability Spec

amazon-secrets-manager-secrets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Secrets Manager API — Secrets
  description: 'Amazon Secrets Manager API — Secrets. 8 operations. Lead operation: Amazon Secrets Manager Create Secret.
    Self-contained Naftiko capability covering one Amazon Secrets Manager business surface.'
  tags:
  - Amazon Secrets Manager
  - Secrets
  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-secrets
    baseUri: https://secretsmanager.amazonaws.com
    description: Amazon Secrets Manager API — Secrets business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: createsecret
        method: POST
        description: Amazon Secrets Manager Create 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
    - name: '#DeleteSecret'
      path: /#DeleteSecret
      operations:
      - name: deletesecret
        method: POST
        description: Amazon Secrets Manager Delete 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
    - name: '#DescribeSecret'
      path: /#DescribeSecret
      operations:
      - name: describesecret
        method: POST
        description: Amazon Secrets Manager Describe 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
    - name: '#GetSecretValue'
      path: /#GetSecretValue
      operations:
      - name: getsecretvalue
        method: POST
        description: Amazon Secrets Manager Get Secret Value
        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
    - name: '#ListSecrets'
      path: /#ListSecrets
      operations:
      - name: listsecrets
        method: POST
        description: Amazon Secrets Manager List Secrets
        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
    - name: '#PutSecretValue'
      path: /#PutSecretValue
      operations:
      - name: putsecretvalue
        method: POST
        description: Amazon Secrets Manager Put Secret Value
        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
    - name: '#RestoreSecret'
      path: /#RestoreSecret
      operations:
      - name: restoresecret
        method: POST
        description: Amazon Secrets Manager Restore 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
    - name: '#UpdateSecret'
      path: /#UpdateSecret
      operations:
      - name: updatesecret
        method: POST
        description: Amazon Secrets Manager Update 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-secrets-rest
    port: 8080
    description: REST adapter for Amazon Secrets Manager API — Secrets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: POST
        name: createsecret
        description: Amazon Secrets Manager Create Secret
        call: amazon-secrets-manager-secrets.createsecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/deletesecret
      name: deletesecret
      description: 'REST surface for #DeleteSecret.'
      operations:
      - method: POST
        name: deletesecret
        description: Amazon Secrets Manager Delete Secret
        call: amazon-secrets-manager-secrets.deletesecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/describesecret
      name: describesecret
      description: 'REST surface for #DescribeSecret.'
      operations:
      - method: POST
        name: describesecret
        description: Amazon Secrets Manager Describe Secret
        call: amazon-secrets-manager-secrets.describesecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/getsecretvalue
      name: getsecretvalue
      description: 'REST surface for #GetSecretValue.'
      operations:
      - method: POST
        name: getsecretvalue
        description: Amazon Secrets Manager Get Secret Value
        call: amazon-secrets-manager-secrets.getsecretvalue
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/listsecrets
      name: listsecrets
      description: 'REST surface for #ListSecrets.'
      operations:
      - method: POST
        name: listsecrets
        description: Amazon Secrets Manager List Secrets
        call: amazon-secrets-manager-secrets.listsecrets
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/putsecretvalue
      name: putsecretvalue
      description: 'REST surface for #PutSecretValue.'
      operations:
      - method: POST
        name: putsecretvalue
        description: Amazon Secrets Manager Put Secret Value
        call: amazon-secrets-manager-secrets.putsecretvalue
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/restoresecret
      name: restoresecret
      description: 'REST surface for #RestoreSecret.'
      operations:
      - method: POST
        name: restoresecret
        description: Amazon Secrets Manager Restore Secret
        call: amazon-secrets-manager-secrets.restoresecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/updatesecret
      name: updatesecret
      description: 'REST surface for #UpdateSecret.'
      operations:
      - method: POST
        name: updatesecret
        description: Amazon Secrets Manager Update Secret
        call: amazon-secrets-manager-secrets.updatesecret
        with:
          X-Amz-Target: rest.X-Amz-Target
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-secrets-manager-secrets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Secrets Manager API — Secrets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-secrets-manager-create-secret
      description: Amazon Secrets Manager Create Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.createsecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-delete-secret
      description: Amazon Secrets Manager Delete Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.deletesecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-describe-secret
      description: Amazon Secrets Manager Describe Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.describesecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-get-secret
      description: Amazon Secrets Manager Get Secret Value
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.getsecretvalue
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-list-secrets
      description: Amazon Secrets Manager List Secrets
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.listsecrets
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-put-secret
      description: Amazon Secrets Manager Put Secret Value
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.putsecretvalue
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-restore-secret
      description: Amazon Secrets Manager Restore Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.restoresecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-secrets-manager-update-secret
      description: Amazon Secrets Manager Update Secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-secrets-manager-secrets.updatesecret
      with:
        X-Amz-Target: tools.X-Amz-Target
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.