# Function: signStatus()

```ts
function signStatus(
   status, 
   privateKey, 
   provider?
): Promise<SignedStatus>;
```

Defined in: [packages/core/src/session/hosting.ts:545](https://github.com/leifriksheim/minca/blob/main/core/src/session/hosting.ts#L545)

Signs a status with the host's key

## Parameters

| Parameter | Type |
| ------ | ------ |
| `status` | [`HostStatus`](https://minca.dev/api/core/interfaces/HostStatus.md) |
| `privateKey` | `CryptoKey` |
| `provider?` | [`CryptoProvider`](https://minca.dev/api/core/interfaces/CryptoProvider.md) |

## Returns

`Promise`\<[`SignedStatus`](https://minca.dev/api/core/interfaces/SignedStatus.md)\>
