GET
/
api
/
v2
/
workspace
/
{workspaceId}
/
encrypted-key
cURL
curl --request GET \
  --url https://app.infisical.com/api/v2/workspace/{workspaceId}/encrypted-key \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "encryptedKey": "<string>",
  "nonce": "<string>",
  "receiverId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "senderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "projectId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "sender": {
    "publicKey": "<string>"
  }
}
This endpoint will be deprecated in the near future in Q1/Q2 2024.We recommend using Infisical in non-E2EE mode going forward.

Authorizations

X-API-Key
string
header
required

An API Key in Infisical

Path Parameters

workspaceId
string
required

The ID of the project to get the key from.

Response

200 - application/json

Default Response

id
string<uuid>
required
encryptedKey
string
required
nonce
string
required
receiverId
string<uuid>
required
projectId
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
sender
object
required
senderId
string<uuid> | null