F

Firebase CLI

CLI discovered

Details
Command
firebase
Docs
https://firebase.google.com/docs/cli
Authentication
Firebase CLI signed-in account oauth2 discovered $ firebase login

Acquired by the CLI — running firebase login opens the auth flow and stores the credential.

Google OAuth 2.0 access token for Firebase App Distribution API oauth2 discovered Set up OAuth ↗
env GOOGLE_APPLICATION_CREDENTIALS

Enable the Firebase App Distribution API. Then authenticate using Google Cloud authentication to obtain an OAuth 2.0 access token for scope https://www.googleapis.com/auth/cloud-platform. The easiest headless path in Firebase docs is to create and use a service account key, then fetch an access token (the Firebase blog shows oauth2l fetch --credentials /path/to/service-account.json --scope https://www.googleapis.com/auth/cloud-platform).

Firebase CLI CI token bearer discovered Get token ↗
$ firebase login:ci

Install the Firebase CLI, then run firebase login:ci to generate a token for non-interactive environments. Pass it to the CLI via the FIREBASE_TOKEN environment variable. Firebase docs describe this as a legacy option for CI/headless use.