---
title: lifetimeMinutes
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nevpnikev2securityassociationparameters/lifetimeminutes
---

# lifetimeMinutes

The duration of the lifetime of the Security Association, in minutes.

## Declaration

```swift
var lifetimeMinutes: Int32 { get set }
```

## Discussion

Discussion The default is 60 for IKE Security Associations, and 30 for Child Security Associations. Before the end of the lifetime is reached, IKEv2 will attempt to negotiate new keys for the Security Association in order to maintain the IKEv2 session.

## See Also

### IKEv2 Security Association parameters

- [encryptionAlgorithm](networkextension/nevpnikev2securityassociationparameters/encryptionalgorithm.md)
- [NEVPNIKEv2EncryptionAlgorithm](networkextension/nevpnikev2encryptionalgorithm.md)
- [integrityAlgorithm](networkextension/nevpnikev2securityassociationparameters/integrityalgorithm.md)
- [NEVPNIKEv2IntegrityAlgorithm](networkextension/nevpnikev2integrityalgorithm.md)
- [diffieHellmanGroup](networkextension/nevpnikev2securityassociationparameters/diffiehellmangroup.md)
- [NEVPNIKEv2DiffieHellmanGroup](networkextension/nevpnikev2diffiehellmangroup.md)
- [postQuantumKeyExchangeMethods](networkextension/nevpnikev2securityassociationparameters/postquantumkeyexchangemethods-3173s.md)
- [NEVPNIKEv2PostQuantumKeyExchangeMethod](networkextension/nevpnikev2postquantumkeyexchangemethod.md)
