---
title: "Retrieves a CA's public key in SSH format."
method: GET
path: "/v1/ssh/{ca_name}/pubkey"
tags: ["v1/ssh"]
---

# Retrieves a CA's public key in SSH format.

`GET /v1/ssh/{ca_name}/pubkey`

Retrieves a CA's public key in SSH format.

## Path parameters

- `ca_name` string, required

## Response `200`

Successful response

- SshPublicKeyRestResponse
  - `ca_name` string — Certificate Authority (CA) name
  - `response` string — CA’s public key

---

[API](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface.md) · [All operations](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keyfactor/ejbca-rest-interface/revisions/44f8798658e2/schema)
