Skip to main content
Rotation Type: Dual-PhaseThis rotation maintains two active credential sets with overlapping validity, ensuring zero-downtime during rotation cycles.

Prerequisites

Create a Fireworks service account

1

Navigate to Settings

In your Fireworks AI account, select Settings in the left sidebar.
2

Navigate to Users & Access

In the Settings sidebar, click Users & Access.
3

Add a Service Account

Click + Add and select Service Account from the dropdown.
4

Configure the Service Account

Enter a Service Account ID (lowercase letters, numbers, and hyphens only) and click Add. You will need this ID when configuring the rotation in Infisical.

Create a Fireworks API key rotation in Infisical

  1. Navigate to your Secrets Manager Project’s Dashboard and select Add Secret Rotation from the actions dropdown.
  2. Select the Fireworks Secret option.
  3. 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.
  1. 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.
  1. 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.
  1. 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.
  1. Review your configuration, then click Create Secret Rotation.