[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Auth](https://evolu.dev/docs/api-reference/common/local-first/Auth) › DeviceSecretAuth

Defined in: [packages/common/src/local-first/Auth.ts:79](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/local-first/Auth.ts#L79)

[EvoluAppAuth](https://evolu.dev/docs/api-reference/common/local-first/Auth/type-aliases/EvoluAppAuth) with a [DeviceSecret](https://evolu.dev/docs/api-reference/common/local-first/Auth/variables/DeviceSecret) the app keeps where only the
user or the platform can unlock it, such as Electron's `safeStorage`.

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"DeviceSecret"`\>

## Properties

<a id="secret"></a>

### secret

```ts
readonly secret: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> & Brand<"DeviceSecret">;
```

Defined in: [packages/common/src/local-first/Auth.ts:80](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/local-first/Auth.ts#L80)

---

<a id="type"></a>

### type

```ts
readonly type: "DeviceSecret";
```

Defined in: [packages/common/src/Type.ts:19326](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/Type.ts#L19326)

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)