Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.78 KB

apple-app-specific-password.md

File metadata and controls

30 lines (19 loc) · 1.78 KB

Apple App-Specific Password

The Apple app-specific password is a password for your Apple ID account that lets you sign in to your Apple account securely from a third-party app. It is one of the authentication methods that can be used by the EAS Submit service to submit your build to the Apple App Store.

Security

Warning

This authentication method is considered less secure than using the App Store Connect API key because of the broad permissions the app-specific password grants to the actor/service who has it. We recommend using the App Store Connect API key for submitting your builds to the Apple App Store (this is default and recommended authentication method). Learn more.

How do I generate an app-specific password?

  1. Sign in to your Apple ID account.
  2. Go to the Security section and click Generate Password under App-Specific Passwords.
  3. Follow the instructions on your screen.

Note

Important note: To generate and use app-specific passwords, your Apple ID must be protected with two-factor authentication (2FA).

You can learn more about app-specific passwords here.

How do I use the app-specific password once I have generated it?

You can use EAS CLI to submit your build to the Apple App Store using the app-specific password. The app-specific password is passed to the EAS CLI as an environment variable called EXPO_APPLE_APP_SPECIFIC_PASSWORD.

Use the following command to submit your iOS build using the app-specific password:

EXPO_APPLE_APP_SPECIFIC_PASSWORD=your_app_specific_password eas submit -p ios