GET
/
api
/
v2
/
secret-rotations
/
postgres-credentials
/
{rotationId}
/
generated-credentials
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"
}

Path Parameters

rotationId
string
required

The ID of the PostgreSQL Credentials Rotation to retrieve the generated credentials for.

Response

200
application/json
Default Response
generatedCredentials
object[]
required
activeIndex
number
required
rotationId
string
required
type
enum<string>
required
Available options:
postgres-credentials

Was this page helpful?