Complete warehouse destination setup
Complete the setup of a warehouse destination by providing the Snowflake host address and the public keys from the /setup response. The custom names are read from the stored configuration.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringThe environment key
stringThe destination kind (snowflake-v2, bigquery, clickhouse, redshift, databricks)
stringRequest Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/destinations/projects/string/environments/string/kinds/string/complete-setup" \ -H "Content-Type: application/json" \ -d '{}'{ "_id": "610addeadbeefaa86ec9a7d4", "_links": { "parent": { "href": "/api/v2/destinations", "type": "application/json" }, "self": { "href": "/api/v2/destinations/my-project/my-environment/610addeadbeefaa86ec9a7d4", "type": "application/json" } }, "name": "example-destination", "kind": "google-pubsub", "version": 1, "config": "{\"project\":\"test-prod\",\"topic\":\"ld-pubsub-test-192301\"}", "on": true, "createdAt": "1628001602644", "maintainerId": "569f183514f4432160000007", "_access": { "denied": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ], "allowed": [ { "action": "string", "reason": { "resources": [ "proj/*:env/*;qa_*:/flag/*" ], "notResources": [ "string" ], "actions": [ "*" ], "notActions": [ "string" ], "effect": "allow", "role_name": "string" } } ] }, "completedArtifacts": { "sqlSetupScript": "string", "s3BucketName": "string" }}Generate Snowflake destination key pair POST
Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destination
Generate warehouse destination setup script POST
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.