EAS Build

Learn how to use Doppler with EAS Build

This guide will show you how to use Doppler with EAS Build by mounting your secrets as a temporary .env file using the Doppler CLI.

Prerequisites

  • Have an existing EAS project
  • The Doppler CLI is installed
  • The EAS CLI is installed
  • doppler setup has been run for your application

Import Secrets to EAS

You can run the following command to sync your secrets from Doppler to EAS Build (keep in mind this is an operation that needs to be run again whenever your secrets change):

doppler run --mount ./eas/.env -- eas secret:push --scope project --env-file ./eas/.env

You can double-check that your secrets were stored properly by running:

eas secret:list