Skip to main content
POST
/
core.v1.LogsService
/
CreateEncryptionKey
cURL
curl -X POST "https://api.joinformal.com/core.v1.LogsService/CreateEncryptionKey" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "encryptionKey": {
    "id": "<string>",
    "provider": "<string>",
    "keyId": "<string>",
    "algorithm": "<string>",
    "decryptorUri": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
provider
enum<string>
Available options:
aws
Minimum string length: 1
keyId
string
Minimum string length: 1
algorithm
enum<string>
Available options:
aes_random,
aes_deterministic
Minimum string length: 1
decryptorUri
string | null

Response

Success

encryptionKey
encryption_key · object