Palbase Secrets · API
/secrets/fields/placeholderSeal the placeholder
Seals the placeholder (•••) at a column's address with the key in force: what a copy of another environment's data (palbase db:copy) fills its encrypted columns with — never that environment's values, whose keys are not this project's. The value is fixed: no caller has a value of its choice sealed here, which the project's backend would take as its own. Recorded in the audit trail, with the column.
Called by your server, with the project's secret key.
Request body
addressstring · requiredThe column: table.column, or schema.table.column outside public.curl -X POST "https://<your-ref>.palbase.studio/secrets/fields/placeholder" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"address":"string"}'Responses
200The placeholder, sealed
400Validation failed or a required field is missing
401Missing or invalid API key
403Not the project's secret key; or a change to the platform's own project (`owner_only`) without its owner's access token (X-Palbase-Owner) or its operator's token (X-Palbase-Operator) beside the key. An owner's sign-in that is not a passkey one from the last 15 minutes is 401 `insufficient_user_authentication`.
429Over the project's request limit or quota
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation SealPlaceholder of secrets's contract.