Rotation Type: Dual-PhaseThis rotation maintains two active credential sets with overlapping validity, ensuring zero-downtime during rotation cycles.
Prerequisites
- Create a Fireworks Connection using an API Key and Account ID. That connection is used to create and delete API keys on your behalf during rotation.
- A Fireworks Service Account whose API keys will be rotated. See Create a Fireworks Service Account below.
Create a Fireworks Service Account
Navigate to Settings
In your Fireworks AI account, click Settings in the left sidebar.

Create a Fireworks API Key Rotation in Infisical
- Infisical UI
- API
-
Navigate to your Secret Manager Project’s Dashboard and select Add Secret Rotation from the actions dropdown.
-
Select the Fireworks Secret option.
-
Configure the rotation behavior, then click Next.
- Fireworks Connection — The connection (with an API key) that will create and delete API keys during rotation.
- Rotation Interval — The interval, in days, after which a rotation is triggered.
- Rotate At — The local time of day when rotation runs once the interval has elapsed.
- Auto-Rotation Enabled — Whether to rotate automatically on the interval. Turn off to rotate only manually or pause rotation.
-
Select the Service Account whose API keys will be rotated, then click Next. This is the service account you created in Fireworks earlier.
- Service Account — The Fireworks service account created in the prerequisites step above.
-
Specify the secret name that the rotated API key will be mapped to. Then click Next.
- API Key — The name of the secret in Infisical where the rotated API key value will be stored.
-
Give your rotation a name and description (optional). Then click Next.
- Name — A slug-friendly name for this rotation configuration.
- Description (optional) — Notes about this rotation.
-
Review your configuration, then click Create Secret Rotation.


