1. The key is stored locally on the same device as the encrypted data. Synology does not reveal the exact location and format of that key.
2. The key is managed by a remote KMIP server on another Synology NAS.
The vast majority of people use option 1, in which case their data is not secure.