fw_org_…). It sends Authorization: Bearer <key> to the Fireweave control plane.
Provider settings
api_key is optional in the provider schema only because the environment variable can supply it. Configure fails if both are empty:
Set the providerPrefer the environment variable over committing secrets to configuration.api_keyargument or theFIREWEAVE_API_KEYenvironment variable.
Creating an API key
- Sign in to the Fireweave app for your organisation.
- Create a key with a session-authenticated request:
- Store the returned
keyvalue once — it is shown only at creation time. - Export it as
FIREWEAVE_API_KEY(or passapi_keyin the provider block).
Org API key management is enabled when the Fireweave
org-api-keys-v1-management feature flag is on for your organisation./v1/projects. It is not a project evaluation key and it is not interchangeable with FW_PROJECT_API_KEY.
Terraform vs SDK credentials
Both use Bearer tokens. They are still different secrets. Do not put an org key in an SDK adapter, and do not put a project key in the Terraform provider.
Common mistakes
Missing Fireweave API key
Missing Fireweave API key
You exported
FW_PROJECT_API_KEY (or FW_API_URL) and expected Terraform to pick it up. Set FIREWEAVE_API_KEY instead.Wrong registry source
Wrong registry source
The published address is
FireWeave-HQ/fireweave. fireweave/fireweave and fireweaveai/fireweave do not exist.401 on fireweave_org_member
401 on fireweave_org_member
Org member endpoints currently reject org API keys. That is a known provider limitation, not a bad
FIREWEAVE_API_KEY. See Org members.Next
Quickstart
Apply a project and environments with the key you just created.
SDK configuration
FW_API_URL and FW_PROJECT_API_KEY for application runtimes.
