---
title: "Get a GPG Key"
method: GET
path: "/gpg-keys/{gpg_key}"
tags: ["gpg_keys"]
---

# Get a GPG Key

`GET /gpg-keys/{gpg_key}`

Show details of a specific GPG key.

## Path parameters

- `gpg_key` string, required

## Query parameters

- `fields` object
  - `gpg-keys` string — The comma-separated list of fields to return in response for GPGKey resource.

## Response `200`

Success.

## Other responses

- `404` — GPG key not found or user unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/versions/fc927526ad12/schema)
