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

# Retrieve the active RSA key for the Repository.

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

Retrieve the active RSA key for the Repository.

## Response `200`

Retrieved the active RSA key.

- RepositoryRsaKey
  - `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 — The long identifier used by RSA for this key.
  - `fingerprint_short` string
  - `public_key` string — The public key given to repository users.
  - `ssh_fingerprint` string, nullable — The SSH fingerprint used by RSA for this key.

## 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/4d7879df9b2f/schema)
