provider Data Export destinations POST /api/v2/destinations/projects/{projKey}/environments/{envKey}/kinds/{kind}/setup
@utdk/launchdarkly /api/v2/destinations/projects/{projKey}/environments/{envKey}/kinds/{kind}/setup
Generate warehouse destination setup script
Generate the SQL setup script required to prepare a warehouse for LaunchDarkly Data Export. For Snowflake, this also generates a key pair. Custom Snowflake object names may be provided. If omitted, defaults are used.
projKey path required
The project key
string
envKey path required
The environment key
string
kind path required
The destination kind (snowflake-v2, redshift)
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postgeneratewarehousedestinationsetupscript
POST/api/v2/destinations/projects/{projKey}/environments/{envKey}/kinds/{kind}/setup
Generate the SQL setup script required to prepare a warehouse for LaunchDarkly Data Export. For Snowflake, this also generates a key pair. Custom Snowflake object names may be provided. If omitted, defaults are used.

Parameters

required

The project key

required

The environment key

required

The destination kind (snowflake-v2, redshift)

Input

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.postgeneratewarehousedestinationsetupscript()