Skip to content

Commit 4c19cd8

Browse files
committed
Restore encryptionKey
1 parent 888db3b commit 4c19cd8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/Options/Definitions.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ module.exports.ParseServerOptions = {
149149
action: parsers.booleanParser,
150150
default: false,
151151
},
152+
encryptionKey: {
153+
env: 'PARSE_SERVER_ENCRYPTION_KEY',
154+
help: 'Key for encrypting your files',
155+
},
152156
expireInactiveSessions: {
153157
env: 'PARSE_SERVER_EXPIRE_INACTIVE_SESSIONS',
154158
help: 'Sets wether we should expire the inactive sessions, defaults to true',

src/Options/docs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true
2828
* @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors
2929
* @property {Boolean} enableSingleSchemaCache Use a single schema cache shared across requests. Reduces number of queries made to _SCHEMA, defaults to false, i.e. unique schema cache per request.
30+
* @property {String} encryptionKey Key for encrypting your files
3031
* @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true
3132
* @property {String} fileKey Key for your files
3233
* @property {Adapter<FilesAdapter>} filesAdapter Adapter module for the files sub-system

src/Options/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export interface ParseServerOptions {
7777
javascriptKey: ?string;
7878
/* Key for Unity and .Net SDK */
7979
dotNetKey: ?string;
80+
/* Key for encrypting your files
81+
:ENV: PARSE_SERVER_ENCRYPTION_KEY */
82+
encryptionKey: ?string;
8083
/* Key for REST calls
8184
:ENV: PARSE_SERVER_REST_API_KEY */
8285
restAPIKey: ?string;

0 commit comments

Comments
 (0)