Skip to main content
POST
/
core.v1.LogsService
/
UpdateEncryptionKey
cURL
curl -X POST "https://api.joinformal.com/core.v1.LogsService/UpdateEncryptionKey" \
  -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
id
string
Minimum string length: 1
provider
enum<string> | null
Available options:
aws
Minimum string length: 1
keyId
string | null
algorithm
enum<string> | null
Available options:
aes_random,
aes_deterministic
Minimum string length: 1
decryptorUri
string | null

Response

Success

encryptionKey
encryption_key · object