Issue one time-bound PostgreSQL credential for Dev or Prod
Owner-authorized direct PostgreSQL login for the project's own database, returned exactly once and never retrievable again. Mode read joins the read-only role, mode write joins the same restricted runtime role the application uses; neither can change schema, and application row-level security policies remain effective. The lifetime is 5 minutes to 24 hours (3600 seconds by default) and PostgreSQL refuses new logins after it; the platform ends remaining sessions within 15 minutes after expiry, at the latest. At most three active credentials exist per project environment. Database compute wakes and is metered normally, and existing credit grace and Stop budgets apply. Revoke the credential as soon as the work is finished and never store the connection URI in files, notes or source.
Request
- Base URL: https://app.ohmyho.st
- URL: https://app.ohmyho.st/v1/projects/{project_id}/database/access
- Auth: HTTP bearer
Path parameters
Project identifier.
Headers
Optional caller-provided correlation identifier.
Request body
Response
The connection URI is returned once and is never persisted in plaintext.
Changes
No recorded changes to this operation across all 1 revision of this API.