---
title: "Retrieve the active Ed25519 key for the Repository."
method: GET
path: "/repos/{owner}/{identifier}/ed25519/"
tags: ["repos"]
---

# Retrieve the active Ed25519 key for the Repository.

`GET /repos/{owner}/{identifier}/ed25519/`

Retrieve the active Ed25519 key for the Repository.

## Response `200`

Retrieved the active Ed25519 key.

- RepositoryEd25519Key
  - `active` boolean — If selected this is the active key for this repository.
  - `created_at` string, date-time
  - `default` boolean — If selected this is the default key for this repository.
  - `fingerprint` string — Uppercase hex-encoded SHA-256 fingerprint of the public key.
  - `fingerprint_short` string
  - `public_key` string — The public key given to repository users.
  - `public_key_wire` string — The public key in `<name>:<base64>` wire format, ready to paste into Nix `trusted-public-keys`.

## Other responses

- `400` — Request could not be processed (see detail).
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/d84142c9e5ad/schema)
