- NAME
-
- gcloud alpha firebase apps sdk-config - get the SDK configuration for a Firebase application
- SYNOPSIS
-
-
gcloud alpha firebase apps sdk-configAPP_ID[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Get the SDK configuration for a Firebase application. - EXAMPLES
-
To get the SDK configuration for a Firebase Web app:
gcloud alpha firebase apps sdk-config 1:1234567890:web:abcdef123456To write the raw configuration file (
google-services.json) for a Firebase Android app:gcloud alpha firebase apps sdk-config 1:1234567890:android:abcdef123456 --format="value(configFileContents)" > google-services.json - POSITIONAL ARGUMENTS
-
APP_ID- The Firebase App ID (e.g. 1:1234567890:web:abcdef123456). The platform (android, ios, or web) is inferred from the App ID.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha firebase apps sdk-config
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-13 UTC.
[null,null,["Last updated 2026-10-13 UTC."],[],[]]