Closed holashchand closed 10 months ago
Feel free to answer or add another questions or add any comment related to this
Update:
This will be available at registry level for now, we can build a quick reference encryption/decryption service to handle this with a support for an external encryption service as well.
ETA for reference encryption service - 21st Sept 2023 Thursday.
This functionality is release as part of 1.0.0
What is the feature request for?
To preserve privacy of sensitive user data such as mobile, email, and other personally identifiable information (PII). This will be part of Registry Core.
What problem/inconvenience (if any) will this feature solve?
Currently, we mask / hash / encrypt only when data is exposed to /published to an external service (e.g. printing to log, metric service, response to GET API). But it is not masked in the registry database itself.
Describe the feature clearly.
If a strategy is specified, we should apply the relevant strategy and persist to the database. We will need to have a configuration to determine the strategy for fields. This can be held under the config section. If Masking/Hashing is specified as the strategy we cannot get the original data back from the registry. For encrypted data, we can decrypt and send back as part of the response to the Registry endpoints.