---
title: "Get all authorized SSH keys"
method: GET
path: "/setup/api/settings/authorized-keys"
tags: ["enterprise-admin"]
---

# Get all authorized SSH keys

`GET /setup/api/settings/authorized-keys`

## Response `200`

Response

- SshKey[]
  - `key` string
  - `pretty-print` string

## Other responses

- `401` — Unauthorized

## Changes

- **2023-06-10** (3.6) `2449343cc620` — 1 info
  - added the non-success response with the status `401`

[Change history](https://skmtc.dev/github/apis/enterprise-server/changes/setup/api/settings/authorized-keys/get.md)

---

[API](https://skmtc.dev/github/apis/enterprise-server.md) · [All operations](https://skmtc.dev/github/apis/enterprise-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/enterprise-server/revisions/685bc72caeea/schema)
