HomeGuidesReferenceLearn
ArchiveExpo SnackDiscord and ForumsNewsletter

Sync credentials between remote and local sources

Learn how to sync credentials between remote and local sources.


If you use automatically managed credentials, your credentials will be hosted remotely on EAS servers, but you may encounter a situation where you want to pull your credentials down to run a build locally. And if you use local credentials, you may find yourself in a position where you want to upload credentials specified in credentials.json up to EAS to be managed for you. Both of these are possible using the eas credentials command.

Downloading credentials

To download your automatically managed credentials, run eas credentials in the root of your project, pick a platform, choose "Credentials.json: Upload/Download credentials between EAS servers and your local json", and then "Download credentials from EAS to credentials.json". Run the command again to download the credentials for another platform, if needed.

Android credentials will be ready to use immediately because your project will read the credentials from credentials.json.

iOS credentials require two steps to set up locally. You will first need to install the distribution certificate into your keychain. Next, open your project Xcode and navigate to the "Signing & Capabilities" section, then import your provisioning profile and select it.

Uploading credentials

To upload your credentials from credentials.json to be managed by EAS, run eas credentials in the root of your project, pick a platform, choose "Credentials.json: Upload/Download credentials between EAS servers and your local json", and then "Upload credentials from credentials.json to EAS". Run the command again to upload the credentials for another platform, if needed.