<!--
{
  "documentType" : "article",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/ipsec-entity-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "IPSec Entity Keys"
}
-->

# IPSec Entity Keys

Keys that correspond to values in the `kSCEntNetIPSec` dictionary.

## Topics

### Constants

[`let kSCPropNetIPSecLocalIdentifier: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecLocalIdentifier-swift.var)

The IPSec key `LocalIdentifier`, whose value is of type `CFString`.

[`let kSCPropNetIPSecLocalIdentifierType: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecLocalIdentifierType-swift.var)

The IPSec key `LocalIdentifierType`, whose value is of type `CFString`.

[`let kSCPropNetIPSecAuthenticationMethod: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecAuthenticationMethod-swift.var)

The IPSec key `AuthenticationMethod`, whose value is of type `CFString`.

[`let kSCPropNetIPSecSharedSecret: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecSharedSecret-swift.var)

The IPSec key `SharedSecret`, whose value is of type `CFString`.

[`let kSCPropNetIPSecSharedSecretEncryption: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecSharedSecretEncryption-swift.var)

The IPSec key `SharedSecretEncryption`, whose value is of type `CFString`.

[`let kSCPropNetIPSecLocalCertificate: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecLocalCertificate-swift.var)

The IPSec key `LocalCertificate`, whose value is of type `CFData`.

[`let kSCPropNetIPSecConnectTime: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecConnectTime-swift.var)

The IPSec key ConnectTime.

[`let kSCPropNetIPSecRemoteAddress: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecRemoteAddress-swift.var)

The IPSec key RemoteAddress.

[`let kSCPropNetIPSecStatus: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecStatus-swift.var)

The IPSec key Status.

[`let kSCPropNetIPSecXAuthEnabled: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecXAuthEnabled-swift.var)

The IPSec key XAuthEnabled.

[`let kSCPropNetIPSecXAuthName: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecXAuthName-swift.var)

The IPSec key XAuthName.

[`let kSCPropNetIPSecXAuthPassword: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecXAuthPassword-swift.var)

The IPSec key XAuthPassword.

[`let kSCPropNetIPSecXAuthPasswordEncryption: CFString`](/documentation/SystemConfiguration/kSCPropNetIPSecXAuthPasswordEncryption-swift.var)

The IPSec key XAuthPasswordEncryption.

### Authentication Method Values

[`let kSCValNetIPSecAuthenticationMethodSharedSecret: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodSharedSecret-swift.var)

The constant value SharedSecret.

[`let kSCValNetIPSecAuthenticationMethodCertificate: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodCertificate-swift.var)

The constant value Certificate.

[`let kSCValNetIPSecAuthenticationMethodHybrid: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodHybrid-swift.var)

The constant value Hybrid.

### Local Identifier Type Values

[`let kSCValNetIPSecLocalIdentifierTypeKeyID: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecLocalIdentifierTypeKeyID-swift.var)

The constant value KeyID.

### IPSec Shared Secret Encryption Values

[`let kSCValNetIPSecSharedSecretEncryptionKeychain: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecSharedSecretEncryptionKeychain-swift.var)

The constant value Keychain.

### XAuth Password Encryption Values

[`let kSCValNetIPSecXAuthPasswordEncryptionKeychain: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecXAuthPasswordEncryptionKeychain-swift.var)

The constant value Keychain.

[`let kSCValNetIPSecXAuthPasswordEncryptionPrompt: CFString`](/documentation/SystemConfiguration/kSCValNetIPSecXAuthPasswordEncryptionPrompt-swift.var)

The constant value Prompt.



---

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)