secrets-manager
secrets-manager copied to clipboard
Fix parsing unknown fields breaks record deserialisation
This PR fixes an issue where deserialising a record with unknown fields breaks deserialisation of all records. With this change, an error message is displayed and the record is skipped.
- fix records parsing failure on unknown fields (now skips)
- cleaned up decryptRecord()