I have a service running in Google Cloud Run that I would like to authenticate to using Keycloak. So far I have everything working locally just fine using
docker run and passing the admin usr/pwd as command line arguments.
I can get Keycloak to run as a service in the cloud but cannot make the admin user/pwd as before, even after setting them as env variables. I am met with this screen instead:
So far I havent found a way to attach a shell to a cloud run container in which case I would use the add-user script as seen in this solution: Keycloak 17 impossible to create initial admin user
Is it possible/recommended to run Keycloak like this for my use case? The containers are only active when needed. I would like to at least run/connect Keycloak in development mode to my other service as a starting point but cannot find a way to create the admin user as a service in Google Cloud Run.
image version: 15.0.2