You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On PUT/PATCH, setup_script is regenerated to reflect the new config, and status resets to pending_customer_setup (any prior test result no longer applies). The RSA keypair is not regenerated.
Security
Private key must be encrypted at rest before storing. It must never be returned in any API response.
Follow up of #7276
When we create a Snowflake connection:
Request body (PATCH)
Any subset of the fields above. Omitted fields are left unchanged.
typeandaccount_identifierare immutable — changing them is effectively a new connection. Return400if included.Response (
201 Createdon POST,200 OKon PUT/PATCH){ "id": "wc_abc123", "type": "snowflake", "status": "pending_customer_setup", "config": { "account_identifier": "xy12345.us-east-1", "warehouse": "COMPUTE_WH", "database": "FLAGSMITH", "schema": "ANALYTICS", "role": "FLAGSMITH_LOADER", "user": "FLAGSMITH_SERVICE" }, "public_key": "MIICIjANBgkq...", // missing "setup_script": "-- Flagsmith Analytics\nUSE ROLE SYSADMIN;\n...", // missing "created_at": "2026-04-17T10:00:00Z" }public_keyandsetup_scriptare returned so the customer can run the SQL directly in Snowflake.statusstarts aspending_customer_setupon create — test endpoint (Add test connection endpoint for warehouse connections (Snowflake) #7277) will flip this toconnected.setup_scriptis regenerated to reflect the new config, andstatusresets topending_customer_setup(any prior test result no longer applies). The RSA keypair is not regenerated.Security