naftiko: 1.0.0-alpha2 info: label: Spot Administration API — Cloud Credentials description: 'Spot Administration API — Cloud Credentials. 3 operations. Lead operation: Spot Set Aws Cloud Credentials. Self-contained Naftiko capability covering one Flexera business surface.' tags: - Flexera - Cloud Credentials created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLEXERA_API_KEY: FLEXERA_API_KEY capability: consumes: - type: http namespace: spot-administration-cloud-credentials baseUri: https://api.spotinst.io description: Spot Administration API — Cloud Credentials business capability. Self-contained, no shared references. resources: - name: setup-credentials-aws path: /setup/credentials/aws operations: - name: setawscloudcredentials method: POST description: Spot Set Aws Cloud Credentials outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: setup-credentials-azure path: /setup/credentials/azure operations: - name: setazurecloudcredentials method: POST description: Spot Set Azure Cloud Credentials outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: setup-credentials-gcp path: /setup/credentials/gcp operations: - name: setgcpcloudcredentials method: POST description: Spot Set Gcp Cloud Credentials outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.FLEXERA_API_KEY}}' exposes: - type: rest namespace: spot-administration-cloud-credentials-rest port: 8080 description: REST adapter for Spot Administration API — Cloud Credentials. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/setup/credentials/aws name: setup-credentials-aws description: REST surface for setup-credentials-aws. operations: - method: POST name: setawscloudcredentials description: Spot Set Aws Cloud Credentials call: spot-administration-cloud-credentials.setawscloudcredentials with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/setup/credentials/azure name: setup-credentials-azure description: REST surface for setup-credentials-azure. operations: - method: POST name: setazurecloudcredentials description: Spot Set Azure Cloud Credentials call: spot-administration-cloud-credentials.setazurecloudcredentials with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/setup/credentials/gcp name: setup-credentials-gcp description: REST surface for setup-credentials-gcp. operations: - method: POST name: setgcpcloudcredentials description: Spot Set Gcp Cloud Credentials call: spot-administration-cloud-credentials.setgcpcloudcredentials with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: spot-administration-cloud-credentials-mcp port: 9090 transport: http description: MCP adapter for Spot Administration API — Cloud Credentials. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spot-set-aws-cloud-credentials description: Spot Set Aws Cloud Credentials hints: readOnly: false destructive: false idempotent: false call: spot-administration-cloud-credentials.setawscloudcredentials with: body: tools.body outputParameters: - type: object mapping: $. - name: spot-set-azure-cloud-credentials description: Spot Set Azure Cloud Credentials hints: readOnly: false destructive: false idempotent: false call: spot-administration-cloud-credentials.setazurecloudcredentials with: body: tools.body outputParameters: - type: object mapping: $. - name: spot-set-gcp-cloud-credentials description: Spot Set Gcp Cloud Credentials hints: readOnly: false destructive: false idempotent: false call: spot-administration-cloud-credentials.setgcpcloudcredentials with: body: tools.body outputParameters: - type: object mapping: $.