---
title: "init(identifier:keychainReference:)"
framework: networkextension
role: symbol
role_heading: Initializer
path: "networkextension/nevpnikev2ppkconfiguration/init(identifier:keychainreference:)"
---

# init(identifier:keychainReference:)

Initializes a quantum-secure pre-shared key (PPK) configuration.

## Declaration

```swift
init(identifier: String, keychainReference: Data)
```

## Parameters

- `identifier`: The identifier for the PPK.
- `keychainReference`: A persistent reference to a keychain item with the class doc://com.apple.documentation/documentation/Security/kSecClassGenericPassword that contains the PPK.
