# Function: sealValue()

```ts
function sealValue(
   key, 
   label, 
   bound, 
   value
): Promise<string>;
```

Defined in: [packages/core/src/identity/envelope.ts:88](https://github.com/leifriksheim/minca/blob/main/core/src/identity/envelope.ts#L88)

Seals a JSON value, as base64url text

## Parameters

| Parameter | Type |
| ------ | ------ |
| `key` | `CryptoKey` |
| `label` | `string` |
| `bound` | [`Bound`](https://minca.dev/api/core/type-aliases/Bound.md) |
| `value` | `unknown` |

## Returns

`Promise`\<`string`\>
