---
title: "Get public key to encrypt connected account credentials"
method: GET
path: "/connected_accounts/credentials/public_key"
tags: ["Connected Accounts"]
---

# Get public key to encrypt connected account credentials

`GET /connected_accounts/credentials/public_key`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/connected_accounts/credentials/public_key`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/connected_accounts/credentials/public_key/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the RSA public key used to encrypt the `creds` field before calling `POST /connected_accounts`.

The key is a singleton resource scoped to the connected-accounts credentials domain — there is one per tenant context.

## Response `200`

Public key retrieved successfully.

- GetConnectedAccountsCredentialsPublicKeyResponse
  - `publicKey` string, required: RSA public key (PEM) used to encrypt credential payloads sent to POST /connected_accounts.

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
