0

I'm working on an automation script to create Firebase projects with the GCM API enabled. So far I managed to create the project and enable the Google Cloud Messaging API (googlecloudmessaging.googleapis.com) by using the following command:

gcloud services enable googlecloudmessaging.googleapis.com

This has left me with the following configuration on the Firebase Console:

enter image description here

So my question is: Is it possible to retrieve the Server Key and Sender Id using the gcloud CLI tool (or even with some other tool or API)?

Rafael
  • 101
  • 2

1 Answers1

0

You can only retrieve your Server Key by using the Firebase Console UI which is in your posted image above.

You may use this documentation for reference.