<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNIKEv2PPKConfiguration/init(identifier:keychainReference:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEVPNIKEv2PPKConfiguration(im)initWithIdentifier:keychainReference:"
  },
  "title" : "init(identifier:keychainReference:)"
}
-->

# init(identifier:keychainReference:)

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)