Skip to main content
Version: v2.0

Issue Gateway Credentials

POST 

/gateways/credentials

Exchange the caller's credential for one that only the gateway accepts.

No permission check of its own: the result is strictly weaker than the credential that bought it — same tenant scope, same run, fewer routes — so a caller can reach nothing here it could not already reach with what it presented. The principal must still be eligible (active, a member of the project). Any caller gets a credential, but only the platform runtime gets one that built-in models accept.

It does check the switch for the plane the caller named, because minting a credential for a plane that will refuse every request is worse than refusing here: the caller still has a pre-gateway path at this point and none once the run is under way.

Request​

Responses​

Successful Response