> ## 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.

# SignWithApiKey

# Function: signWithApiKey()

> **signWithApiKey**(`input`): `Promise`\<`string`>

Defined in: [index.ts:31](https://github.com/tkhq/sdk/blob/ee72856c3f450731d7501ab05001215768b71500/packages/api-key-stamper/src/index.ts#L31)

Signature function abstracting the differences between NodeJS and web environments for signing with API keys.

## Parameters

### input

#### content

`string`

#### privateKey

`string`

#### publicKey

`string`

## Returns

`Promise`\<`string`>
