You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: customer-managed encryption keys for Spanner (#666)
* feat: add support for encrypted databases
* fix: fix deps and clirr failures
* tests: add additional tests for keys
* tests: remove IT and add unit
* fix: set null instead of default instance
* fix: does not set encryption info if null
Does not set encryption info in the request if it is null
* fix: fixes dependencies
* feature: adds support for encrypted backup
Adds the possibility to set encryption config info in the creation of a
backup.
* feature: adds support for restoring encrypted dbs
* Revert "tests: remove IT and add unit"
This reverts commit cc19cf2.
* fix: makes the setEncryptionConfigInfo public
This is so a backup can be encrypted
* feature: adds tests for cmek
Adds tests for creating encrypted database, creating encrypted backups
and restoring encrypted databases.
* fix: removes keys after test finishes
Destroy keys used in CMEK tests
* fix: fixes clirr errors
* fix: ignores failing cmek tests
Ignores the failing CMEK tests until the backend support is enabled in
production.
* fix: uses wrapper encryption info for backups
* fix: fixes clirr issues
* fix: re-orders clirr issues
* fix: addresses PR comments
* test: fixes database admin client tests
* chore: re-formats the code
* chore: fixes clirr checks
* tests: adds unit tests for domain classes
Adds unit tests for EncryptionConfigInfo, EncryptionConfig, Backup and
Restore.
* chore: renames EncryptionConfigInfo
Renames EncryptionConfigInfo to EncryptionConfig in order to mirror what
is the protobuf definition.
* tests: do not create a key on CMEK test
Instead use an existing key and fails if the key is not present.
* feat: allows multiple encryption configs
Allows customer managed encryption for create databases (google default
encryption is just nullifying the value here).
Allows customer managed encryption, google default encryption and
database encryption for create backups.
Allows customer managed encryption, google default encryption and backup
encryption for restore databases.
* docs: adds java doc to Restore class
* chore: refactors pom.xml
Uses variables to define project id and instance id for running
integration tests.
* test: fixes cmek integration test
* chore: fixes linting
* Revert "chore: refactors pom.xml"
This reverts commit d182b83.
* test: unifies cmek backup and restore tests
* chore: adds toString to encryption classes
* docs: updates DatabaseInfo javadoc
Co-authored-by: Knut Olav Løite <[email protected]>
* docs: updates Restore javadocs
Co-authored-by: Knut Olav Løite <[email protected]>
* docs: updates DatabaseInfo javadocs
Co-authored-by: Knut Olav Løite <[email protected]>
* fix: addresses PR comments
* tests: reformats
Co-authored-by: Olav Loite <[email protected]>
0 commit comments