---
title: "Generate Snowflake destination key pair"
method: POST
path: "/api/v2/destinations/generate-warehouse-destination-key-pair"
tags: ["Data Export destinations"]
---

# Generate Snowflake destination key pair

`POST /api/v2/destinations/generate-warehouse-destination-key-pair`

Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destination

## Response `201`

Generate warehouse destination key pair response

- GenerateWarehouseDestinationKeyPairPostRep
  - `public_key` string — The public key used by LaunchDarkly
  - `public_key_pkcs8` string — The public key to assign in your Snowflake worksheet

## Other responses

- `400` — Invalid request
- `401` — Invalid access token
- `403` — Forbidden
- `409` — Status conflict
- `429` — Rate limited

---

[API](https://skmtc.net/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.net/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/69c5c9aafe78/schema)
