naftiko: 1.0.0-alpha2 info: label: Humanitec API — SecretStore description: 'Humanitec API — SecretStore. 5 operations. Lead operation: Get list of Secret Stores for the given organization.. Self-contained Naftiko capability covering one Humanitec business surface.' tags: - Humanitec - SecretStore created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUMANITEC_API_KEY: HUMANITEC_API_KEY capability: consumes: - type: http namespace: humanitec-secretstore baseUri: https://api.humanitec.io description: Humanitec API — SecretStore business capability. Self-contained, no shared references. resources: - name: orgs-orgId-secretstores path: /orgs/{orgId}/secretstores operations: - name: get method: GET description: Get list of Secret Stores for the given organization. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: post method: POST description: Create a Secret Store for the given organization. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-orgId-secretstores-storeId path: /orgs/{orgId}/secretstores/{storeId} operations: - name: get method: GET description: Get the Secret Store. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: storeId in: path type: string description: The Secret Store ID. required: true - name: delete method: DELETE description: Delete the Secret Store. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: storeId in: path type: string description: The Secret Store ID. required: true - name: patch method: PATCH description: Update the Secret Store. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: The Organization ID. required: true - name: storeId in: path type: string description: The Secret Store ID. required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: humanitec-secretstore-rest port: 8080 description: REST adapter for Humanitec API — SecretStore. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{orgid}/secretstores name: orgs-orgid-secretstores description: REST surface for orgs-orgId-secretstores. operations: - method: GET name: get description: Get list of Secret Stores for the given organization. call: humanitec-secretstore.get with: orgId: rest.orgId outputParameters: - type: object mapping: $. - method: POST name: post description: Create a Secret Store for the given organization. call: humanitec-secretstore.post with: orgId: rest.orgId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{orgid}/secretstores/{storeid} name: orgs-orgid-secretstores-storeid description: REST surface for orgs-orgId-secretstores-storeId. operations: - method: GET name: get description: Get the Secret Store. call: humanitec-secretstore.get with: orgId: rest.orgId storeId: rest.storeId outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete the Secret Store. call: humanitec-secretstore.delete with: orgId: rest.orgId storeId: rest.storeId outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Update the Secret Store. call: humanitec-secretstore.patch with: orgId: rest.orgId storeId: rest.storeId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: humanitec-secretstore-mcp port: 9090 transport: http description: MCP adapter for Humanitec API — SecretStore. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-secret-stores-given description: Get list of Secret Stores for the given organization. hints: readOnly: true destructive: false idempotent: true call: humanitec-secretstore.get with: orgId: tools.orgId outputParameters: - type: object mapping: $. - name: create-secret-store-given-organization description: Create a Secret Store for the given organization. hints: readOnly: false destructive: false idempotent: false call: humanitec-secretstore.post with: orgId: tools.orgId body: tools.body outputParameters: - type: object mapping: $. - name: get-secret-store description: Get the Secret Store. hints: readOnly: true destructive: false idempotent: true call: humanitec-secretstore.get with: orgId: tools.orgId storeId: tools.storeId outputParameters: - type: object mapping: $. - name: delete-secret-store description: Delete the Secret Store. hints: readOnly: false destructive: true idempotent: true call: humanitec-secretstore.delete with: orgId: tools.orgId storeId: tools.storeId outputParameters: - type: object mapping: $. - name: update-secret-store description: Update the Secret Store. hints: readOnly: false destructive: false idempotent: true call: humanitec-secretstore.patch with: orgId: tools.orgId storeId: tools.storeId body: tools.body outputParameters: - type: object mapping: $.