GET
/
api
/
v2
/
secret-rotations
/
options
curl --request GET \
  --url https://us.infisical.com/api/v2/secret-rotations/options
{
  "secretRotationOptions": [
    {
      "name": "PostgreSQL Credentials",
      "connection": "postgres",
      "type": "postgres-credentials",
      "template": {
        "createUserStatement": "<string>",
        "secretsMapping": {
          "username": "<string>",
          "password": "<string>"
        }
      }
    }
  ]
}

Response

200
application/json
Default Response
secretRotationOptions
object[]
required

Was this page helpful?