Go to console

Available options to pass to initializeApp().

Index

Properties

Optional credential

credential: Credential

A Credential object used to authenticate the Admin SDK.

See Initialize the SDK for detailed documentation and code samples.

Optional databaseAuthVariableOverride

databaseAuthVariableOverride: Object

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.

Optional databaseURL

databaseURL: string

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

Optional httpAgent

httpAgent: Agent

An