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 enroll 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.
Recovery Key: Use a recovery key to increase the security of your account. When you create a recovery key, the only way to reset your password is by using another trusted device already signed in with your Apple ID or by using another Apple device and verifying its trusted phone number and entering your recovery key.
Apps Using Your Apple ID: This option only appears if you’ve used Sign in with Apple to set up an account on an app or website. Click Edit to see a list of apps and websites that you’ve signed in to using Sign in with Apple. The options provide information about your accounts and the ability to turn off features or stop using Sign in with Apple. See Use Sign in with Apple.
For information about changing your Apple ID account information on the Apple ID website, see your Apple ID account page.