Database Credentials

Create or rotate database credentials

Creates credentials if none exist, otherwise rotates the password. Returns password once.

post/db-credentials/rotate

Response

Rotated existing credentials

databasestring
hoststring
messagestring
passwordstring

#nosec G117 -- intentionally returned to user after credential rotation

portinteger
ssl_modestring
usernamestring

Changes