Integrate Valet into a macOS application
mainmacOS applications must have the Keychain Sharing entitlement enabled to use Valet.
If your app supports macOS 10.14 or earlier, you must call myValet.migrateObjectsFromPreCatalina() before reading values to upgrade items to include the kSecUseDataProtectionKeychain:true attribute required by macOS Catalina.