Palbase Secrets · API
/secrets/transit/publicRead the public transit keys
The public halves of the project's keys not retired, newest first, signed with the project's signing key: what an app seals the fields of a request to its backend to. Any of the project's keys reads it — an app with its publishable key. Nothing in it is secret.
Called by your app, with the publishable key; or your server, with the project's secret key.
Query
noncestring · required16 to 64 base64url characters the app makes fresh for this read: the signed list carries it back, so a list replayed from before a rotation does not verify.curl -X GET "https://<your-ref>.palbase.studio/secrets/transit/public" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The signed list
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 GetTransitPublicKeys of secrets's contract.