cURL
curl --request GET \ --url https://us.infisical.com/api/v2/secret-rotations/postgres-credentials/{rotationId}/generated-credentials
{ "generatedCredentials": [ { "username": "<string>", "password": "<string>" } ], "activeIndex": 123, "rotationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "postgres-credentials" }
Get the generated credentials for the specified PostgreSQL Credentials Rotation.
The ID of the PostgreSQL Credentials Rotation to retrieve the generated credentials for.
Default Response
The response is of type object.
object
Was this page helpful?