---
title: ipsecPSK
framework: wifiaware
role: symbol
role_heading: Type Property
path: wifiaware/washaredsecret/protocolname/ipsecpsk
---

# ipsecPSK

Derive a shared secret to bootstrap IPSec, using the resulting shared secret as the IPSec Pre-Shared Key.

## Declaration

```swift
static let ipsecPSK: WASharedSecret.ProtocolName
```

## Discussion

Discussion Best practices for IPSec security are described in NIST Special Publication 800-77. IKEv2 and IPSec-v3 are recommended. Specifying this value will use the “IPSec-PSK” string as the protocol name when deriving the shared secret.
