Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Running Etherpad on Cloud Run: accessing its root folder for the API key

Dear all,

I am new to GCP, and have successfully deployed Etherpad on Cloud Run. So far I am happy with GCP simplicity, e.g. adding environment variables in Cloud Run, and switching from Etherpad's built-in dirtyDB to Cloud SQL.

Currently, I am struggling with accessing Etherpad's root folder where its API key is stored (according to the docs). I tried the Secrets Manager, but to my understanding it generates an additional key instead of overwriting the one provided by Etherpad.

Is it possible to reach the root folder via the Cloud Shell? If yes, what are the commands? Or do I have to run Etherpad on a virtual machine?

I appreciate any help.

best, Gregor

0 2 297
2 REPLIES 2

Hi @Gregor1,

Welcome to Google Cloud Community!

You can use the pwd command to display your current working directory where you mentioned your API key is stored. This is a universal Linux command that can also be used on Google Cloud Shell Editor.

Hope this helps.

Dear @robertcarlos 

thanks for the prompt reply. I am afraid I did not make myself clear: actually, I cannot find Etherpad's root folder and its API key.

I tried following commands in Cloud Shell without any results:

  • find / apikey
  • find / APIKEY.txt

I only have this one project on Google Cloud and Etherpad works fine.

Maybe the issue is related to Google Run and how it works?

Edit: I have just read on stackoverflow that Google Run has no built-in storage. Now, I am struggling with finding the API key on Cloud SQL (postgresql). Any advice is highly welcome.