openapi: 3.2.0 info: contact: email: support@akeyless.io name: Akeyless url: http://akeyless.io description: The purpose of this application is to provide access to Akeyless API. title: Akeyless Decrypt Gpg API version: '2.0' servers: - url: https://api.akeyless.io/ tags: - name: Decrypt Gpg paths: /decrypt-gpg: post: operationId: decryptGPG requestBody: content: application/json: schema: $ref: '#/components/schemas/decryptGPG' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/decryptGPGOutput' description: decryptGPGResponse wraps response body. default: content: application/json: schema: $ref: '#/components/schemas/JSONError' description: 'errorResponse wraps any error to return it as a JSON object with one "error" field.' tags: - Decrypt Gpg x-codegen-request-body-name: body summary: Decrypt GPG x-summary-source: derived components: schemas: decryptGPGOutput: example: result: result properties: result: type: string x-go-name: Result type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands JSONError: properties: error: type: string x-go-name: Err title: JSONError wraps an error with JSON object. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client decryptGPG: properties: ciphertext: description: Ciphertext to be decrypted in base64 encoded format type: string x-go-name: Ciphertext display-id: description: The display id of the key to use in the decryption process type: string x-go-name: DisplayId item-id: description: The item id of the key to use in the decryption process format: int64 type: integer x-go-name: ItemId json: description: Set output format to JSON type: boolean x-go-name: Json key-name: description: The name of the key to use in the decryption process type: string x-go-name: KeyName output-format: description: 'If specified, the output will be formatted accordingly. options: [base64]' type: string x-go-name: OutputFormat passphrase: description: Passphrase that was used to generate the key type: string x-go-name: Passphrase token: description: Authentication token (see `/auth` and `/configure`) type: string x-go-name: Profile uid-token: description: The universal identity token, Required only for universal_identity authentication type: string x-go-name: UIDToken required: - ciphertext - key-name title: decryptGPG is a command that decrypts GPG cipher text based on RSA key. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands