Set up your Apple ID password and security information on Mac
You use Password & Security preferences to change the security settings associated with your Apple ID.
On your Mac, choose Apple menu > System Preferences, click Apple ID, then select Password & Security in the sidebar.
If you haven’t signed in to your Apple ID, click Sign In and type your Apple ID information. Follow the onscreen instructions.
View or change the following:
Password: Click Change Password to change your Apple ID password, which protects the information associated with your Apple ID. This information includes payment and shipping information, iCloud information, media and purchase information and more. See Tips for creating secure passwords.
Two-Factor Authentication: Shows whether your Apple ID has two-factor authentication turned on.
If two-factor authentication is on and you need a verification code to sign in on another device or at iCloud.com, click Get Verification Code.
If two-factor authentication is off and you want to turn it on, click Turn On Two-Factor Authentication.
You can also turn two-factor authentication on and manage your trusted devices and phone numbers by signing in to your Apple ID account page.
Trusted phone numbers: If two-factor authentication is on and you want to add trusted phone numbers, click Edit. Click the Add button , then enter your Mac login password when asked. Next, type a phone number that can be used to verify your identity. Select whether you want to be reached by text or phone call, then click Continue. Click Done.
You must verify at least one trusted phone number when you enrol in two-factor authentication. You should also consider verifying other phone numbers you can access, such as a home phone, or a number used by a family member or close friend. Trusted phone numbers don’t automatically receive verification codes. If you temporarily can’t access your own devices, click or tap “Didn’t get a verification code?” on the new device, then choose one of your other trusted phone numbers to receive the verification code.
Get a verification code: If two-factor authentication is on and you need a verification code to sign in on another device or at iCloud.com, click Get Verification Code.
For information about changing your Apple ID account information on the Apple ID website, see your Apple ID account page.