कंसोल पर जाएं

auth:import and auth:export

  • The auth:import command imports user accounts into Firebase projects.

  • The auth:export command exports user accounts to JSON and CSV files.

auth:import

firebase auth:import account_file   \
    --hash-algo=hash_algorithm        \
    --hash-key=key                    \
    --salt-separator=salt_separator   \
    --rounds=rounds                   \
    --mem-cost=mem_cost               \
    --parallelization=parallelization \
    --block-size=block_size           \
    --dk-len=dk_len                   \
    --hash-input-order=hash_input_order
Parameters
account_file The CSV or JSON file that contains the user accounts to import. See File format.
hash-algo The algorithm used to hash passwords in the user account file.
Required to import accounts with password fields. One of the following values: BCRYPT, SCRYPT, STANDARD_SCRYPT, HMAC_SHA512, HMAC_SHA256, HMAC_SHA1, HMAC_MD5,