keychain question

The project uses keychain to store data. When kSecAttrAccessible is set to kSecAttrAccessibleAfterFirstUnlock or this property is not set, Apple backs up the system and restores it to the new machine. Will the data stored in the keychain be transferred to the new machine? Will the data in UserDefault be additionally transferred to the new machine?

keychain question
 
 
Q