Prisma · Arazzo Workflow
Prisma Postgres Rotate a Database Connection String
Version 1.0.0
Confirm a database is active, mint a fresh connection string, then revoke the previous one.
Provider
Workflows
rotate-connection-string
Confirm a database, mint a new connection string, and revoke the previous one.
Reads the database, lists its connections, mints a replacement connection string, and deletes the old connection.
1
confirmDatabase
getDatabase
Read the database to confirm it is active before rotating its connection string.
2
listConnections
listConnections
List the database connection strings so the currently active one can be identified for later revocation.
3
createConnection
createConnection
Mint a replacement Prisma connection string before revoking the old one so applications stay connectable throughout the rotation.
4
revokeOldConnection
deleteConnection
Permanently revoke and delete the previously active connection string now that the replacement is in place. Returns 204 No Content on success.
Source API Descriptions
openapi