I'm trying to find out how to secure a graph.cool ...
# prisma-whats-new
q
I'm trying to find out how to secure a graph.cool endpoint properly. It shouldn't be possible that anyone can even read the db, so one should set all access to at least authenticated. This works fine with users authenticating e.g. via auth0. What if I have an endpoint talking to graph.cool, how can I secure it, by: 1. adding an IP whitelist 2. authentication/token?
q
yeah... thx!
I thought it was... how do I generate root tokens (I'm using graphcool cloud)
I don't have a graphcool cli, nor service description, in the cloud service (afaik)
p
Hmmm... I'm not really an expert, but I think that you should be able to login to your cloud using the graphcool cli