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>"
}
}
}
]
}
List the available Secret Rotation 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>"
}
}
}
]
}
Default Response
The response is of type object
.
Was this page helpful?