Properties

credential

(non-null admin.credential.Credential or undefined)

A Credential object used to authenticate the Admin SDK.

See Initialize the SDK for detailed documentation and code samples.

databaseAuthVariableOverride

(Object or undefined)

The object to use as the auth variable in your Realtime Database Rules when the Admin SDK reads from or writes to the Realtime Database. This allows you to downscope the Admin SDK from its default full read and write privileges.

You can pass null to act as an unauthenticated client.

See Authenticate with limited privileges for detailed documentation and code samples.

databaseURL

(string or undefined)

The URL of the Realtime Database from which to read and write data.

projectId

(string or undefined)

The ID of the Google Cloud project associated with the App.

serviceAccountId

(string or undefined)

The ID of the service account to be used for signing custom tokens. This can be found in the client_email field of a service account JSON file.

storageBucket

(string or undefined)

The name of the default Cloud Storage bucket associated with the App.