---
title: "Get encrypted credentials"
method: GET
path: "/credentials/{credentialsId}/keys"
tags: ["credentials"]
---

# Get encrypted credentials

`GET /credentials/{credentialsId}/keys`

Retrieves the encrypted keys for the credentials identified by the given `credentialsId`.

## Path parameters

- `credentialsId` string, required

## Query parameters

- `workspaceId` integer
- `pairingId` string

## Response `200`

OK

- GetCredentialsKeysResponse
  - `keys` string

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
