diff --git a/src/Options/docs.js b/src/Options/docs.js index febe3d77cc..9d8553d9f6 100644 --- a/src/Options/docs.js +++ b/src/Options/docs.js @@ -27,6 +27,7 @@ * @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true * @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors * @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. + * @property {String} encryptionKey Key for encrypting your files * @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true * @property {String} fileKey Key for your files * @property {Adapter} filesAdapter Adapter module for the files sub-system diff --git a/src/Options/index.js b/src/Options/index.js index 1283f849a7..84ec9c7b99 100644 --- a/src/Options/index.js +++ b/src/Options/index.js @@ -77,6 +77,9 @@ export interface ParseServerOptions { javascriptKey: ?string; /* Key for Unity and .Net SDK */ dotNetKey: ?string; + /* Key for encrypting your files + :ENV: PARSE_SERVER_ENCRYPTION_KEY */ + encryptionKey: ?string; /* Key for REST calls :ENV: PARSE_SERVER_REST_API_KEY */ restAPIKey: ?string;