「Gcp/Firebase/Authentication」の版間の差分

提供: 初心者エンジニアの簡易メモ
ナビゲーションに移動 検索に移動
ページの作成:「==authenticationのエクスポート== <pre> npm install -g firebase-tools firebase login firebase auth:export account_file.json --format=JSON --project=[project1] </pre...」
 
4行目: 4行目:
firebase login
firebase login
firebase auth:export account_file.json --format=JSON --project=[project1]
firebase auth:export account_file.json --format=JSON --project=[project1]
</pre>
出力ファイル例:account_file.json
<pre>
{"users": [
{
  "localId": "00017f8Daqdyxxxxxxxxxxxxxxxxx",
  "lastSignedInAt": "1730288278340",
  "createdAt": "1730288278340"
},
  "localId": "zzzrCWoliwU7dxxxxxxxxxxxxxxx",
  "lastSignedInAt": "1649335001653",
  "createdAt": "1649335001653"
}]}
</pre>
</pre>


参考:https://blog.yuhiisk.com/archive/2018/08/22/export-firebase-auth-csv.html
参考:https://blog.yuhiisk.com/archive/2018/08/22/export-firebase-auth-csv.html

2025年7月31日 (木) 07:10時点における版

authenticationのエクスポート

npm install -g firebase-tools
firebase login
firebase auth:export account_file.json --format=JSON --project=[project1]

出力ファイル例:account_file.json

{"users": [
{
  "localId": "00017f8Daqdyxxxxxxxxxxxxxxxxx",
  "lastSignedInAt": "1730288278340",
  "createdAt": "1730288278340"
},
  "localId": "zzzrCWoliwU7dxxxxxxxxxxxxxxx",
  "lastSignedInAt": "1649335001653",
  "createdAt": "1649335001653"
}]}

参考:https://blog.yuhiisk.com/archive/2018/08/22/export-firebase-auth-csv.html