How to generate app-specific passwords with iCloud on iPhone, iPad, and MacThird-party apps using iCloud will be required to use app-specific passwords. Here's how to generate one.
Updated May 2017: Rewritten with current steps for generating app-specific passwords.
As of June 15, Apple will require all third-party apps that use iCloud to store data to use app-specific passwords for added protection.
App-specific passwords ensure that your Apple ID isn't compromised if you need to add your iCloud account to a third-party email, calendar, or contact manager app. It creates a password that those third-party apps will store instead. It is just another layer of protection that will ensure you're protected from nefarious activities.
You'll need to have two-factor authentication enabled in order to generate app-specific passwords. Two-factor authentication is different than two-step verification.
How to enable two-factor authentication
Note: Whenever you change your Apple ID, all of your app-specific passwords will automatically be revoked and you'll have t...
Source:
How to generate app-specific passwords with iCloud on iPhone, iPad, and Mac