- Export users from the source project using Firebase CLI
firebase --project <source-project-id> auth:export users.json - Open the source project’s auth console
- From the “Users” tab, open the menu in the top right of the users table and click “Password hash parameters”
- You will reference these when importing the JSON export file
- Reference the Firebase documentation on importing auth users to formulate an import command, inserting the variables required for the source’s hash algorithm
Example import command from the Design Media automated proposal demo system project:
firebase \
--project fir-automated-staging \
auth:import users.json \
--hash-algo=SCRYPT \
--hash-key=ew/DkplA3KvIkd4F3p5pUHDgfEiaPcrkQ72ASyY0CgYTD+V25PzB8hd3/gc7TgS6qPAmdh52ovfbCwEfIDqYsw== \
--salt-separator=Bw== \
--rounds=8 \
--mem-cost=14