Argo CD GPGKeyService API

The GPGKeyService API from Argo CD — 2 operation(s) for gpgkeyservice.

Operations 4

GET /api/v1/gpgkeys List all available repository certificates #
POST /api/v1/gpgkeys Create one or more GPG public keys in the server's configuration #
DELETE /api/v1/gpgkeys Delete specified GPG public key from the server's configuration #
GET /api/v1/gpgkeys/{keyID} Get information about specified GPG public key from the server #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/argocd-gpgkeyservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

argocd-gpgkeyservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Description of all APIs
  title: Consolidate Services AccountService GPG Key Service API
  version: version not set
tags:
- name: GPGKeyService
paths:
  /api/v1/gpgkeys:
    get:
      tags:
      - GPGKeyService
      summary: List all available repository certificates
      operationId: GPGKeyService_List
      parameters:
      - description: The GPG key ID to query for.
        name: keyID
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1alpha1GnuPGPublicKeyList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
    post:
      tags:
      - GPGKeyService
      summary: Create one or more GPG public keys in the server's configuration
      operationId: GPGKeyService_Create
      parameters:
      - description: Whether to upsert already existing public keys.
        name: upsert
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gpgkeyGnuPGPublicKeyCreateResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1alpha1GnuPGPublicKey'
        description: Raw key data of the GPG key(s) to create
        required: true
    delete:
      tags:
      - GPGKeyService
      summary: Delete specified GPG public key from the server's configuration
      operationId: GPGKeyService_Delete
      parameters:
      - description: The GPG key ID to query for.
        name: keyID
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/gpgkeyGnuPGPublicKeyResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
  /api/v1/gpgkeys/{keyID}:
    get:
      tags:
      - GPGKeyService
      summary: Get information about specified GPG public key from the server
      operationId: GPGKeyService_Get
      parameters:
      - description: The GPG key ID to query for
        name: keyID
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1alpha1GnuPGPublicKey'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runtimeError'
components:
  schemas:
    gpgkeyGnuPGPublicKeyCreateResponse:
      type: object
      title: Response to a public key creation request
      properties:
        created:
          $ref: '#/components/schemas/v1alpha1GnuPGPublicKeyList'
        skipped:
          type: array
          title: List of key IDs that haven been skipped because they already exist on the server
          items:
            type: string
    gpgkeyGnuPGPublicKeyResponse:
      type: object
      title: Generic (empty) response for GPG public key CRUD requests
    runtimeError:
      type: object
      properties:
        code:
          type: integer
          format: int32
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
        error:
          type: string
        message:
          type: string
    v1ListMeta:
      description: 'ListMeta describes metadata that synthetic resources must have, including lists and

        various status objects. A resource may have only one of {ObjectMeta, ListMeta}.'
      type: object
      properties:
        continue:
          description: 'continue may be set if the user set a limit on the number of items returned, and indicates that

            the server has more data available. The value is opaque and may be used to issue another request

            to the endpoint that served this list to retrieve the next set of available objects. Continuing a

            consistent list may not be possible if the server configuration has changed or more than a few

            minutes have passed. The resourceVersion field returned when using this continue value will be

            identical to the value in the first response, unless you have received this token from an error

            message.'
          type: string
        remainingItemCount:
          type: integer
          format: int64
          title: 'remainingItemCount is the number of subsequent items in the list which are not included in this

            list response. If the list request contained label or field selectors, then the number of

            remaining items is unknown and the field will be left unset and omitted during serialization.

            If the list is complete (either because it is not chunking or because this is the last chunk),

            then there are no more remaining items and this field will be left unset and omitted during

            serialization.

            Servers older than v1.15 do not set this field.

            The intended use of the remainingItemCount is *estimating* the size of a collection. Clients

            should not rely on the remainingItemCount to be set or to be exact.

            +optional'
        resourceVersion:
          type: string
          title: 'String that identifies the server''s internal version of this object that

            can be used by clients to determine when objects have changed.

            Value must be treated as opaque by clients and passed unmodified back to the server.

            Populated by the system.

            Read-only.

            More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

            +optional'
        selfLink:
          type: string
          title: 'Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.

            +optional'
    v1alpha1GnuPGPublicKeyList:
      type: object
      title: GnuPGPublicKeyList is a collection of GnuPGPublicKey objects
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/v1alpha1GnuPGPublicKey'
        metadata:
          $ref: '#/components/schemas/v1ListMeta'
    v1alpha1GnuPGPublicKey:
      type: object
      title: GnuPGPublicKey is a representation of a GnuPG public key
      properties:
        fingerprint:
          type: string
          title: Fingerprint is the fingerprint of the key
        keyData:
          type: string
          title: KeyData holds the raw key data, in base64 encoded format
        keyID:
          type: string
          title: KeyID specifies the key ID, in hexadecimal string format
        owner:
          type: string
          title: Owner holds the owner identification, e.g. a name and e-mail address
        subType:
          type: string
          title: SubType holds the key's subtype (e.g. rsa4096)
        trust:
          type: string
          title: Trust holds the level of trust assigned to this key
    protobufAny:
      type: object
      properties:
        type_url:
          type: string
        value:
          type: string
          format: byte