Ramin B
11/08/2018, 2:43 PMsecret property set in prisma.yml, then there is the secret prop when you create a server and passed into the prisma-binding instance, and finally there’s also the managementApiSecret in the docker-compose.yml file. Are these all the same thing?divyendu
11/08/2018, 2:47 PMprisma.yml is used to protect the deployed service, running prisma token in CLI would yield a token that can be sent as authorization header via playground (or any other client) to access the Prisma service.
the managementApiSecret in docker-compose.yml is used to protect the management API which exists at <prisma server url>/management
When the management secret is used in docker-compose.yml then the CLI must have the same secret as environment variable to be able to deploy services on the prisma server 🙂divyendu
11/08/2018, 2:47 PMRamin B
11/08/2018, 2:48 PMsecret thats passed into the new Prisma(...) instance when creating a server. that’s the same as the one set in prisma.yml ?divyendu
11/08/2018, 2:49 PMdivyendu
11/08/2018, 2:50 PMdivyendu
11/08/2018, 2:50 PMRamin B
11/08/2018, 3:00 PM