---
title: key
framework: localauthentication
role: symbol
role_heading: Instance Property
path: localauthentication/lapersistedright/key
---

# key

The private key that’s persisted by the right.

## Declaration

```swift
var key: LAPrivateKey { get }
```

## See Also

### Accessing persistent data

- [secret](localauthentication/lapersistedright/secret.md)
