Create a Supabase API Key Rotation for the specified project.
Documentation Index
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | A unique name for the rotation (max 100 characters). |
projectId | string (UUID) | Yes | The project ID. |
connectionId | string (UUID) | Yes | ID of the Supabase app connection. |
environment | string | Yes | Environment slug (e.g. dev, prod). |
secretPath | string | Yes | Path where the generated API key secret will be stored. |
isAutoRotationEnabled | boolean | No | Whether to rotate automatically on the schedule. Defaults to true. |
rotationInterval | number | Yes | Days between rotations (minimum 1). |
rotateAtUtc | object | No | Time of day (UTC) to run rotation: { "hours", "minutes" }. Defaults to { "hours": 0, "minutes": 0 }. |
parameters.projectRef | string | Yes | The reference ID of the Supabase project to rotate the API key for. |
parameters.keyType | string | Yes | The type of the API key to rotate: "publishable" or "secret". |
secretsMapping.apiKey | string | Yes | Secret key name to store the generated API key (e.g. SUPABASE_SECRET_API_KEY). |
description | string | No | Optional description. |
The name of the Supabase API Key Rotation to create. Must be slug-friendly.
1 - 64The ID of the project to create the rotation in.
1The ID of the Supabase Connection to use for rotation.
The slug of the project environment to create the rotation in.
1 - 64The secret path of the project to create the rotation in.
1The interval, in days, to automatically rotate secrets.
x >= 1An optional description for the Supabase API Key Rotation.
256Whether secrets should be automatically rotated when the specified rotation interval has elapsed.
The hours and minutes rotation should occur at in UTC. Defaults to Midnight (00:00) UTC.
Default Response