We have an app that creates a VPN profile on the device. As part of that VPN profile we supply a username and password to the NEVPNProtocolIKEv2 profile configuration and proxy server. The VPN is setup to connect on demand and everything works smoothly; however, if the user backs up their device to iCloud and then restores from their iCloud backup, the VPN profile is carried over, but the password does not get restored so (because it is setup as on demand) it constantly pops up a diaglogue to enter the password for the VPN.
Is it possible to either:
A) Get the password to restore properly on restore from iCloud backup
B) Instruct iOS to not restore the VPN profile on restore from iCloud backup