简体   繁体   中英

How to get TOKEN or API_KEY for FireBase?

I tried this method, recommended by google api but i can't find.

  'https://firebase.googleapis.com/v1beta1/projects?key=[YOUR_API_KEY]' \
  --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
  --header 'Accept: application/json' \
  --compressed

https://console.firebase.google.com/project/_here_your_project_name/settings/serviceaccounts/adminsdk - here generic key, download and get token over python for example

Don't forget get token over variable

cred = credentials.Certificate("/your__downloaded_json_file")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM