---
title: NEVPNIKEAuthenticationMethod.sharedSecret
framework: networkextension
role: symbol
role_heading: Case
path: networkextension/nevpnikeauthenticationmethod/sharedsecret
---

# NEVPNIKEAuthenticationMethod.sharedSecret

Use a shared secret as the authentication credential. The shared secret set in the sharedSecretReference property will be used.

## Declaration

```swift
case sharedSecret
```

## See Also

### Authentication methods

- [NEVPNIKEAuthenticationMethod.none](networkextension/nevpnikeauthenticationmethod/none.md)
- [NEVPNIKEAuthenticationMethod.certificate](networkextension/nevpnikeauthenticationmethod/certificate.md)
