v4

latestSwagger 2.02026-08-0343714211.7 MB
gpg_keys
GPG Keys

Show GPG Key

Show GPG Key

get/gpg_keys/{id}

Path parameters

idinteger required

Gpg Key ID.

Response

The GpgKeys object.

idinteger

GPG key ID.

workspace_idinteger

Workspace ID (0 for default workspace).

expires_atstring date-time

GPG key expiration date.

namestring

GPG key name.

partner_idinteger

Partner ID who owns this GPG Key, if applicable.

partner_namestring

Name of the Partner who owns this GPG Key, if applicable.

user_idinteger

User ID who owns this GPG Key, if applicable.

public_key_md5string

MD5 hash of the GPG public key

private_key_md5string

MD5 hash of the GPG private key.

generated_public_keystring

GPG public key

generated_private_keystring

GPG private key.

private_key_password_md5string

GPG private key password. Only required for password protected keys.

Example response

{
  "id": 1,
  "expires_at": "2000-01-01T01:00:00Z",
  "name": "key name",
  "partner_id": 1,
  "partner_name": "example",
  "user_id": 1,
  "public_key_md5": "7f8bc1210b09b9ddf469e6b6b8920e76",
  "private_key_md5": "ab236cfe4a195f0226bc2e674afdd6b0",
  "generated_public_key": "7f8bc1210b09b9ddf469e6b6b8920e76",
  "generated_private_key": "ab236cfe4a195f0226bc2e674afdd6b0",
  "private_key_password_md5": "[the GPG private key password]"
}