---
title: hpkePreSharedKey
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asauthorizationproviderextensionloginconfiguration/hpkepresharedkey
---

# hpkePreSharedKey

## Declaration

```swift
var hpkePreSharedKey: Data? { get set }
```

## Discussion

Discussion The PreSharedKey to be used for HKPE. Setting this value will change the mode to PSK or AuthPSK if the hpkeAuthPublicKey is also set. Must be at least 32 bytes.
