Adds support for read-only masterKey (#4297)
* Adds support for read-only masterKey * Adds tests to make sure all endpoints are properly protected * Updates readme * nits
This commit is contained in:
@@ -58,6 +58,8 @@ export interface ParseServerOptions {
|
||||
/* Key for REST calls
|
||||
:ENV: PARSE_SERVER_REST_API_KEY */
|
||||
restAPIKey: ?string;
|
||||
/* Read-only key, which has the same capabilities as MasterKey without writes */
|
||||
readOnlyMasterKey: ?string;
|
||||
/* Key sent with outgoing webhook calls */
|
||||
webhookKey: ?string;
|
||||
/* Key for your files */
|
||||
|
||||
Reference in New Issue
Block a user