---
title: "GET /crypto/certificatekeypairs/{kp_uuid}/view_private_key/"
method: GET
path: "/crypto/certificatekeypairs/{kp_uuid}/view_private_key/"
tags: ["crypto"]
---

# GET /crypto/certificatekeypairs/{kp_uuid}/view_private_key/

`GET /crypto/certificatekeypairs/{kp_uuid}/view_private_key/`

Return certificate-key pairs private key and log access

## Path parameters

- `kp_uuid` string, uuid, required

## Query parameters

- `download` boolean

## Response `200`

- CertificateData — Get CertificateKeyPair's data
  - `data` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc.dev/goauthentik/apis/authentik/revisions/72050dd9f6ba?raw)
