naftiko: 1.0.0-alpha2 info: label: Google Cloud Secret Manager API — Secrets description: 'Google Cloud Secret Manager API — Secrets. 5 operations. Lead operation: Google Cloud Secret Manager List secrets. Self-contained Naftiko capability covering one Google Cloud Secret Manager business surface.' tags: - Google Cloud Secret Manager - Secrets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_SECRET_MANAGER_API_KEY: GOOGLE_CLOUD_SECRET_MANAGER_API_KEY capability: consumes: - type: http namespace: openapi-secrets baseUri: https://secretmanager.googleapis.com/v1 description: Google Cloud Secret Manager API — Secrets business capability. Self-contained, no shared references. resources: - name: projects-projectId-secrets path: /projects/{projectId}/secrets operations: - name: listsecrets method: GET description: Google Cloud Secret Manager List secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: pageSize in: query type: integer - name: pageToken in: query type: string - name: filter in: query type: string - name: createsecret method: POST description: Google Cloud Secret Manager Create a secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: secretId in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-secrets-secretId path: /projects/{projectId}/secrets/{secretId} operations: - name: getsecret method: GET description: Google Cloud Secret Manager Get a secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: secretId in: path type: string required: true - name: updatesecret method: PATCH description: Google Cloud Secret Manager Update a secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: secretId in: path type: string required: true - name: updateMask in: query type: string - name: body in: body type: object description: Request body (JSON). required: true - name: deletesecret method: DELETE description: Google Cloud Secret Manager Delete a secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: secretId in: path type: string required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_SECRET_MANAGER_API_KEY}}' exposes: - type: rest namespace: openapi-secrets-rest port: 8080 description: REST adapter for Google Cloud Secret Manager API — Secrets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/secrets name: projects-projectid-secrets description: REST surface for projects-projectId-secrets. operations: - method: GET name: listsecrets description: Google Cloud Secret Manager List secrets call: openapi-secrets.listsecrets with: projectId: rest.projectId pageSize: rest.pageSize pageToken: rest.pageToken filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createsecret description: Google Cloud Secret Manager Create a secret call: openapi-secrets.createsecret with: projectId: rest.projectId secretId: rest.secretId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/secrets/{secretid} name: projects-projectid-secrets-secretid description: REST surface for projects-projectId-secrets-secretId. operations: - method: GET name: getsecret description: Google Cloud Secret Manager Get a secret call: openapi-secrets.getsecret with: projectId: rest.projectId secretId: rest.secretId outputParameters: - type: object mapping: $. - method: PATCH name: updatesecret description: Google Cloud Secret Manager Update a secret call: openapi-secrets.updatesecret with: projectId: rest.projectId secretId: rest.secretId updateMask: rest.updateMask body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesecret description: Google Cloud Secret Manager Delete a secret call: openapi-secrets.deletesecret with: projectId: rest.projectId secretId: rest.secretId outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-secrets-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Secret Manager API — Secrets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-secret-manager-list description: Google Cloud Secret Manager List secrets hints: readOnly: true destructive: false idempotent: true call: openapi-secrets.listsecrets with: projectId: tools.projectId pageSize: tools.pageSize pageToken: tools.pageToken filter: tools.filter outputParameters: - type: object mapping: $. - name: google-cloud-secret-manager-create description: Google Cloud Secret Manager Create a secret hints: readOnly: false destructive: false idempotent: false call: openapi-secrets.createsecret with: projectId: tools.projectId secretId: tools.secretId body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-secret-manager-get description: Google Cloud Secret Manager Get a secret hints: readOnly: true destructive: false idempotent: true call: openapi-secrets.getsecret with: projectId: tools.projectId secretId: tools.secretId outputParameters: - type: object mapping: $. - name: google-cloud-secret-manager-update description: Google Cloud Secret Manager Update a secret hints: readOnly: false destructive: false idempotent: true call: openapi-secrets.updatesecret with: projectId: tools.projectId secretId: tools.secretId updateMask: tools.updateMask body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-secret-manager-delete description: Google Cloud Secret Manager Delete a secret hints: readOnly: false destructive: true idempotent: true call: openapi-secrets.deletesecret with: projectId: tools.projectId secretId: tools.secretId outputParameters: - type: object mapping: $.