latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-17107136452.1 KB

6133543facaf

search-tools

Reencrypt Stored Search Tool Keys

Re-encrypt stored search-tool keys with the primary OTARI_SECRET_KEY.

The search-tool half of the OTARI_SECRET_KEY rotation procedure; run it alongside POST /v1/provider-credentials/reencrypt. Rows that cannot be decrypted are left untouched and must be recovered by replacing the affected tool's key.

post/v1/search-tools/reencrypt

Response

Successful Response

reencryptedinteger required

Number of stored search-tool keys re-encrypted.

unreadableinteger required

Number of encrypted keys left untouched because they could not be decrypted.