Skip to content

Instantly share code, notes, and snippets.

@PetkevichPavel
Created August 24, 2019 08:00
Show Gist options
  • Save PetkevichPavel/baa50cf21bfca5c3bfaaca32285edaf0 to your computer and use it in GitHub Desktop.
Save PetkevichPavel/baa50cf21bfca5c3bfaaca32285edaf0 to your computer and use it in GitHub Desktop.
Cloud Function: secret properties for functions.
export const DB_URL = "https://projec-name.firebaseio.com"
export const SCOPES = ["https://www.googleapis.com/auth/firebase.remoteconfig"];
export const FB_URL_RC =
"https://firebaseremoteconfig.googleapis.com/v1/projects/projec-name/remoteConfig"
export const service: any = {
"type": "service_account",
"project_id": "********************",
"private_key_id": "********************",
"private_key": "********************",
"client_email": "********************",
"client_id": "********************",
"auth_uri": "********************",
"token_uri": "********************",
"auth_provider_x509_cert_url": "********************",
"client_x509_cert_url": "********************"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment