Skip to content

Commit 86acf3f

Browse files
authored
Adding documentation about read-only masterKey (#481)
1 parent 09c0615 commit 86acf3f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_includes/parse-server/keys.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33
Parse Server does not require the use of client-side keys. This includes the client key, JavaScript key, .NET key, and REST API key. The Application ID is sufficient to secure your app.
44

55
However, you have the option to specify any of these four keys upon initialization. Upon doing so, Parse Server will enforce that any clients passing a key matches. The behavior is consistent with hosted Parse.
6+
7+
## Read-Only masterKey
8+
9+
Starting `parse-server` 2.6.5, it is possible to specify a `readOnlyMasterKey`. When using this key instead of the masterKey, the server will perform all `read` operations as if they were executing with the `masterKey` but will fail to execute any `write` operation.
10+
11+
This key is expecially powerful when used with `parse-dashboard`. Please refer to [Parse Dashboard](https://github.com/parse-community/parse-dashboard/)'s documentation for more informations.

0 commit comments

Comments
 (0)