Ramin B
11/15/2018, 2:51 PMPRISMA_MANAGEMENT_API_SECRET
and also a APP_SECRET
. Which one should be for which context. I’ve read the docs here (https://www.prisma.io/docs/run-prisma-server/authentication-and-security-kke4/), and think I understand the PRISMA_MANAGEMENT_API_SECRET
bit, which locks down access to the Management API. is APP_SECRET
then used to lock down the public facing API exposed by your sever (ie, graphql-yoga)?dpetrick
11/15/2018, 2:57 PMdpetrick
11/15/2018, 2:57 PMnikolasburk
APP_SECRET
is the secret that's used to authenticate the users of your application, in that sense it doesn't really have anything to do with Prisma but only with how you want implement the authentication mechanism for your users.Ramin B
11/15/2018, 3:17 PMprisma.yml
file and also when instantiating the Prisma client? would that be be PRISMA_MANAGEMENT_API_SECRET
or APP_SECRET
?nikolasburk
secret
passed in prisma.yml again is another secret called the "Service secret". That's to protect the GraphQL API or your Prisma service. More info here: https://www.prisma.io/docs/prisma-graphql-api/reference/authentication-ghd4/halborg
11/15/2018, 8:17 PM