Method: projects.getAdminSdkConfig

Gets the configuration artifact used by servers to simplify initialization.

Typically, this configuration is used with the Firebase Admin SDK initializeApp command.

HTTP request

GET https://firebase.googleapis.com/v1beta1/{name=projects/*/adminSdkConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The fully qualified resource name of the Project, in the format:

projects/project-id/adminSdkConfig

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "projectId": string,
  "databaseURL": string,
  "storageBucket": string,
  "locationId": string
}
Fields
projectId

string

Immutable. The globally unique, user-assigned project ID of the parent Project.

databaseURL

string

The default Firebase Realtime Database URL.

storageBucket

string

The default Cloud Storage for Firebase storage bucket name.

locationId

string

The default resource location of other Firebase resources (such as Cloud Firestore).
For examples, see https://cloud.google.com/appengine/docs/locations.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/firebase.readonly

For more information, see the Authentication Overview.

Send feedback about...

Need help? Visit our support page.