parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.86k stars 4.78k forks source link

Dynamic master key and maintenance key #9052

Open mtrezza opened 6 months ago

mtrezza commented 6 months ago

New Feature / Enhancement Checklist

Current Limitation

The master key and maintenance key are both set on server start and cannot be changed without a server restart. This is disadvantageous when periodically rotating the keys because a key rotation also requires a server restart. This is particular problematic for a cluster of servers in which updating the keys across a large fleet can take a long time.

Feature / Enhancement Description

Example Use Case

New Parse Server options:

{
  masterKey: async () => await getKey(),
  masterKeyTtl: 3600,
}

Alternatives / Workarounds

Server restart.

parse-github-assistant[bot] commented 6 months ago

Thanks for opening this issue!