# Function: renamePasskey()

```ts
function renamePasskey(params): Promise<boolean>;
```

Defined in: [packages/core/src/identity/webauthn.ts:79](https://github.com/leifriksheim/minca/blob/main/core/src/identity/webauthn.ts#L79)

Asks the passkey provider to show a passkey under a new name, through the
WebAuthn Signal API; the provider decides. True when the browser accepted
the request, not when the provider acted on it.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `params` | \{ `name`: `string`; `rpId`: `string`; `userHandle`: `string`; \} |
| `params.name` | `string` |
| `params.rpId` | `string` |
| `params.userHandle` | `string` |

## Returns

`Promise`\<`boolean`\>
