grafana/pkg/services/secrets/manager
Tania 4f8111e24e
Encryption: Fix multiple data keys migration (#49848)
* Add migration

* Migrator: Extend support to rename columns

* Fix getting current key

* Fix column name in migration

* Fix deks reencryption

* Fix caching

* Add back separate caches for byName and byPrefix

* Do not concatenate prefix with uid

* Rename DataKey struc fields

* SQLStore: Add deprecation comments for breaking migrations

* Add comment

* Minor corrections

Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2022-06-04 12:55:49 +02:00
..
cache.go Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
helpers.go Encryption: Enable envelope encryption by default (#49301) 2022-05-24 10:34:47 +02:00
manager_test.go Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
manager.go Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
metrics.go Encryption: Add support for multiple data keys per day (#47765) 2022-05-23 13:13:55 +02:00