Description
This is originated fromĀ https://issues.couchbase.com/browse/CBL-2319.
We should provide a note to explain that the Database.copy(fromPath, toName, config) method will copy the database without changing the encryption key of original database if specified. Therefore, the encryption key specified in the given config is the encryption key used for both the original and copied database. If the encryption key needs to be changed or set to the copied database, the Database's changeEncryptionKey(key) will need to be call after.
Attachments
Issue Links
- relates to
-
CBL-2319 Confusing copyDatabase API when used with encryptionKey
- Closed