Does keychain data synced to iCloud back up

413 views Asked by At

I have read so many blogs but still its not clear to me that whether iCloud backs up the keychain data which are stored programmatically using SecItemAdd or not ?

1

There are 1 answers

1
Edgar On BEST ANSWER

iCloud Keychain is a feature introduced with iOS 7.0.3 / OS X Mavericks 10.9.

In order to take advantage of this for data stored programmatically using SecItemAdd, you have to update the item with the key kSecAttrSynchronizable.

This key is not added by default so items without it will not be backed up to iCloud.

Also, even with kSecAttrSynchronizable properly set, bear in mind that users might not have enabled the iCloud Keychain feature from their point of view, meaning that they wouldn't be synced either.