Certificates and keys generated by the Apple Developer Program are saved on your machine. This is because they are needed for development. Therefore, I back them up and restore them when I initialize my machines.
This article explains how to back up and restore them.
How to export to the developer profile file
Export the necessary information from Xcode. Follow these steps.
Make the new file name’s name extension to
developerprofile as displayed initially. Then, enter the password into the
Password field and the
The exported developer profile file is encrypted.
How to restore from the developer profile file
You can also use Xcode when you would like to restore from the developer file. Do as follows.
When the password dialog appears, enter the password used during the export process and click the “OK” button.
The imported Apple ID is signed out.