> ## Documentation Index
> Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CreatePasskey

# Function: createPasskey()

> **createPasskey**(`config`, `options`?): `Promise`\<\{}>

Defined in: [react-native-passkey-stamper/src/index.ts:134](https://github.com/tkhq/sdk/blob/ee72856c3f450731d7501ab05001215768b71500/packages/react-native-passkey-stamper/src/index.ts#L134)

Creates a passkey and returns authenticator params

## Parameters

### config

[`TPasskeyRegistrationConfig`](../TPasskeyRegistrationConfig/readme)

### options?

#### withPlatformKey

`boolean`

#### withSecurityKey

`boolean`

## Returns

`Promise`\<\{}>
