Firebase: export user accounts’ email and password hashes

前端 未结 3 441
一向
一向 2021-01-30 22:21

I use email/password authentication for my Firebase.

I’m considering moving to a different backend and I’m wondering if there is any way to export user emails/password h

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 22:49

    I did not get any option on firebase console UI. So you need to install firebase tool using npm.

    npm install -g firebase-tools
    

    and then login using

    firebase login
    

    after login you need to run one of command

    CSV Format

    firebase auth:export save_file.csv --format=csv --project 
    

    JSON Format

    firebase auth:export save_file.json --format=json --project 
    

    you can get the project-id from home screen of firebase console

提交回复
热议问题