---
title: "Retrieve a single public key associated to an organization."
method: GET
path: "/orgs/{orgId}/keys/{keyId}"
tags: ["public", "PublicKeys"]
---

# Retrieve a single public key associated to an organization.

`GET /orgs/{orgId}/keys/{keyId}`

## Path parameters

- `orgId` string, required
- `keyId` string, required

## Response `200`

A public key associated to an organization.

- PublicKey — PublicKey stores a Public Key an organization shares with Humanitec.
  - `id` string, required
  - `key` string, required
  - `created_at` string, date-time, required
  - `created_by` string, required
  - `expired_at` string, date-time, required
  - `fingerprint` string, required — It's the hexadecimal representation of the sha256 hash of the DER representation of the key, it's computed and stored when a new key is uploaded.

## Other responses

- `404` — Either the resource or a related resource could not be found. More detail can be found in the error body.

---

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