How to obtain api-key on Google Cloud Run #1717
-
How Shlink is set up
SummaryShlink and the web client are both running as a Docker image in Google Cloud Run. However, I have been trying for hours to obtain the api-key. GCR does not allow you to run docker *https://stackoverflow.com/questions/56342904/enter-a-docker-container-running-with-google-cloud-run |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Perhaps the The value you provide will be used to create an admin API key the first time a container is spin-up. After that you can even remove it if you want. Make sure to set a secure value (long and random enough). |
Beta Was this translation helpful? Give feedback.
-
I can't believe I didn't find this earlier! (Maybe you could include a small reference/hint in the installation guide?) For reference for others:
|
Beta Was this translation helpful? Give feedback.
Perhaps the
INITIAL_API_KEY
env var comes handy here.The value you provide will be used to create an admin API key the first time a container is spin-up. After that you can even remove it if you want.
Make sure to set a secure value (long and random enough).