naftiko: 1.0.0-alpha2 info: label: Argo CD — RepoCredsService description: 'Argo CD — RepoCredsService. 8 operations. Lead operation: Argo CD ListRepositoryCredentials Gets a List of All Configured Repository Credential Sets. Self-contained Naftiko capability covering one Argo Cd business surface.' tags: - Argo Cd - RepoCredsService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGO_CD_API_KEY: ARGO_CD_API_KEY capability: consumes: - type: http namespace: argo-cd-repocredsservice baseUri: '' description: Argo CD — RepoCredsService business capability. Self-contained, no shared references. resources: - name: api-v1-repocreds path: /api/v1/repocreds operations: - name: repocredsservicelistrepositorycredentials method: GET description: Argo CD ListRepositoryCredentials Gets a List of All Configured Repository Credential Sets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: url in: query type: string description: Repo URL for query. - name: repocredsservicecreaterepositorycredentials method: POST description: Argo CD CreateRepositoryCredentials Creates a New Repository Credential Set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: Repository definition required: true - name: upsert in: query type: boolean description: Whether to create in upsert mode. - name: api-v1-repocreds-creds.url path: /api/v1/repocreds/{creds.url} operations: - name: repocredsserviceupdaterepositorycredentials method: PUT description: Argo CD UpdateRepositoryCredentials Updates a Repository Credential Set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: creds.url in: path type: string description: URL is the URL to which these credentials match required: true - name: body in: body type: string required: true - name: api-v1-repocreds-url path: /api/v1/repocreds/{url} operations: - name: repocredsservicedeleterepositorycredentials method: DELETE description: Argo CD DeleteRepositoryCredentials Deletes a Repository Credential Set from the Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: url in: path type: string required: true - name: api-v1-write-repocreds path: /api/v1/write-repocreds operations: - name: repocredsservicelistwriterepositorycredentials method: GET description: Argo CD ListWriteRepositoryCredentials Gets a List of All Configured Repository Credential Sets That Have Write Access outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: url in: query type: string description: Repo URL for query. - name: repocredsservicecreatewriterepositorycredentials method: POST description: Argo CD CreateWriteRepositoryCredentials Creates a New Repository Credential Set with Write Access outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: Repository definition required: true - name: upsert in: query type: boolean description: Whether to create in upsert mode. - name: api-v1-write-repocreds-creds.url path: /api/v1/write-repocreds/{creds.url} operations: - name: repocredsserviceupdatewriterepositorycredentials method: PUT description: Argo CD UpdateWriteRepositoryCredentials Updates a Repository Credential Set with Write Access outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: creds.url in: path type: string description: URL is the URL to which these credentials match required: true - name: body in: body type: string required: true - name: api-v1-write-repocreds-url path: /api/v1/write-repocreds/{url} operations: - name: repocredsservicedeletewriterepositorycredentials method: DELETE description: Argo CD DeleteWriteRepositoryCredentials Deletes a Repository Credential Set with Write Access from the Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: url in: path type: string required: true exposes: - type: rest namespace: argo-cd-repocredsservice-rest port: 8080 description: REST adapter for Argo CD — RepoCredsService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/repocreds name: api-v1-repocreds description: REST surface for api-v1-repocreds. operations: - method: GET name: repocredsservicelistrepositorycredentials description: Argo CD ListRepositoryCredentials Gets a List of All Configured Repository Credential Sets call: argo-cd-repocredsservice.repocredsservicelistrepositorycredentials with: url: rest.url outputParameters: - type: object mapping: $. - method: POST name: repocredsservicecreaterepositorycredentials description: Argo CD CreateRepositoryCredentials Creates a New Repository Credential Set call: argo-cd-repocredsservice.repocredsservicecreaterepositorycredentials with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - path: /v1/api/v1/repocreds/{creds-url} name: api-v1-repocreds-creds-url description: REST surface for api-v1-repocreds-creds.url. operations: - method: PUT name: repocredsserviceupdaterepositorycredentials description: Argo CD UpdateRepositoryCredentials Updates a Repository Credential Set call: argo-cd-repocredsservice.repocredsserviceupdaterepositorycredentials with: creds.url: rest.creds.url body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/repocreds/{url} name: api-v1-repocreds-url description: REST surface for api-v1-repocreds-url. operations: - method: DELETE name: repocredsservicedeleterepositorycredentials description: Argo CD DeleteRepositoryCredentials Deletes a Repository Credential Set from the Configuration call: argo-cd-repocredsservice.repocredsservicedeleterepositorycredentials with: url: rest.url outputParameters: - type: object mapping: $. - path: /v1/api/v1/write-repocreds name: api-v1-write-repocreds description: REST surface for api-v1-write-repocreds. operations: - method: GET name: repocredsservicelistwriterepositorycredentials description: Argo CD ListWriteRepositoryCredentials Gets a List of All Configured Repository Credential Sets That Have Write Access call: argo-cd-repocredsservice.repocredsservicelistwriterepositorycredentials with: url: rest.url outputParameters: - type: object mapping: $. - method: POST name: repocredsservicecreatewriterepositorycredentials description: Argo CD CreateWriteRepositoryCredentials Creates a New Repository Credential Set with Write Access call: argo-cd-repocredsservice.repocredsservicecreatewriterepositorycredentials with: body: rest.body upsert: rest.upsert outputParameters: - type: object mapping: $. - path: /v1/api/v1/write-repocreds/{creds-url} name: api-v1-write-repocreds-creds-url description: REST surface for api-v1-write-repocreds-creds.url. operations: - method: PUT name: repocredsserviceupdatewriterepositorycredentials description: Argo CD UpdateWriteRepositoryCredentials Updates a Repository Credential Set with Write Access call: argo-cd-repocredsservice.repocredsserviceupdatewriterepositorycredentials with: creds.url: rest.creds.url body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/write-repocreds/{url} name: api-v1-write-repocreds-url description: REST surface for api-v1-write-repocreds-url. operations: - method: DELETE name: repocredsservicedeletewriterepositorycredentials description: Argo CD DeleteWriteRepositoryCredentials Deletes a Repository Credential Set with Write Access from the Configuration call: argo-cd-repocredsservice.repocredsservicedeletewriterepositorycredentials with: url: rest.url outputParameters: - type: object mapping: $. - type: mcp namespace: argo-cd-repocredsservice-mcp port: 9090 transport: http description: MCP adapter for Argo CD — RepoCredsService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: argo-cd-listrepositorycredentials-gets-list description: Argo CD ListRepositoryCredentials Gets a List of All Configured Repository Credential Sets hints: readOnly: true destructive: false idempotent: true call: argo-cd-repocredsservice.repocredsservicelistrepositorycredentials with: url: tools.url outputParameters: - type: object mapping: $. - name: argo-cd-createrepositorycredentials-creates-new description: Argo CD CreateRepositoryCredentials Creates a New Repository Credential Set hints: readOnly: false destructive: false idempotent: false call: argo-cd-repocredsservice.repocredsservicecreaterepositorycredentials with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: argo-cd-updaterepositorycredentials-updates-repository description: Argo CD UpdateRepositoryCredentials Updates a Repository Credential Set hints: readOnly: false destructive: false idempotent: true call: argo-cd-repocredsservice.repocredsserviceupdaterepositorycredentials with: creds.url: tools.creds.url body: tools.body outputParameters: - type: object mapping: $. - name: argo-cd-deleterepositorycredentials-deletes-repository description: Argo CD DeleteRepositoryCredentials Deletes a Repository Credential Set from the Configuration hints: readOnly: false destructive: true idempotent: true call: argo-cd-repocredsservice.repocredsservicedeleterepositorycredentials with: url: tools.url outputParameters: - type: object mapping: $. - name: argo-cd-listwriterepositorycredentials-gets-list description: Argo CD ListWriteRepositoryCredentials Gets a List of All Configured Repository Credential Sets That Have Write Access hints: readOnly: true destructive: false idempotent: true call: argo-cd-repocredsservice.repocredsservicelistwriterepositorycredentials with: url: tools.url outputParameters: - type: object mapping: $. - name: argo-cd-createwriterepositorycredentials-creates-new description: Argo CD CreateWriteRepositoryCredentials Creates a New Repository Credential Set with Write Access hints: readOnly: false destructive: false idempotent: false call: argo-cd-repocredsservice.repocredsservicecreatewriterepositorycredentials with: body: tools.body upsert: tools.upsert outputParameters: - type: object mapping: $. - name: argo-cd-updatewriterepositorycredentials-updates-repository description: Argo CD UpdateWriteRepositoryCredentials Updates a Repository Credential Set with Write Access hints: readOnly: false destructive: false idempotent: true call: argo-cd-repocredsservice.repocredsserviceupdatewriterepositorycredentials with: creds.url: tools.creds.url body: tools.body outputParameters: - type: object mapping: $. - name: argo-cd-deletewriterepositorycredentials-deletes-repository description: Argo CD DeleteWriteRepositoryCredentials Deletes a Repository Credential Set with Write Access from the Configuration hints: readOnly: false destructive: true idempotent: true call: argo-cd-repocredsservice.repocredsservicedeletewriterepositorycredentials with: url: tools.url outputParameters: - type: object mapping: $.