Hosted gateway

Reveal both TCP credentials once for the expected generation

POST
/v1/public/account/workspace/deployments/resources/{id}/tcp/credentials/reveal

Signed account session, current workspace ADMIN or OWNER and verified email; same-site JSON is mandatory. The organization comes only from the session. Requests are closed and limited to 4096 bytes. TCP forwarding is opaque and does not evaluate SQL or API commands. Default off. Requires the route to be ready and its current authorizing administrator to retain paid active entitlement. The generation from the latest resource read is compared under the route lock before disclosure is consumed. Stale requests never consume replacement credentials. Do not cache, log or automatically retry a credential disclosure.

Authorization

AccountSessionCookie
decionis_account_session<token>

The signed HttpOnly account session the web app holds after sign-in (also accepted as a Bearer acct_ token).

In: cookie

Path Parameters

id*string

Saved resource UUID in the current workspace; also the TCP route UUID.

Formatuuid

Request Body

application/json

generation*integer

Non-secret fencing generation. Discard stale reveals and clear displayed credentials when this changes.

Range1 <= value <= 2147483647

Response Body

application/json

curl -X POST "https://example.com/v1/public/account/workspace/deployments/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/tcp/credentials/reveal" \  -H "Content-Type: application/json" \  -d '{    "generation": 1  }'
{  "route_id": "dd833dbc-f3c5-44d9-98a2-7ba12ebc8160",  "tenant_host": "string",  "gateway_url": "http://example.com",  "resource": "string",  "resource_hash": "string",  "connector_credential": "string",  "client_credential": "string"}