-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
The master key is set on dashboard start and cannot be changed without a dashboard restart. This is disadvantageous when periodically rotating the keys because a key rotation also requires a dashboard restart.
Feature / Enhancement Description
- Allow to set an async function for the master key instead of a string.
- Add the master key to the internal cache with a TTL, so that the function is not called every time the master key is validated
Example Use Case
New Parse Dashboard options:
{
masterKey: async () => await getKey(),
masterKeyTtl: 3600
}
Alternatives / Workarounds
Dashboard restart.
Metadata
Metadata
Assignees
Labels
bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature