Score:0

Is it possible to get the Google Cloud Messaging server key using the CLI?

eg flag

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)?

Score:0
id flag

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.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.