The iOS and OS X keychains are designed to protect sensitive data such as passwords, keys, and credentials. Learn why the keychain provides more security than other methods of storing data, when it’s appropriate to use the keychain, and how to use the keychain for common tasks such as saving passwords and importing and exporting certificates in various formats.