grafana/pkg/services/secrets
Jo 44fa0697ce
Auth: Signing Key persistence (#75487)
* signing key wip

use db keyset storage

add signing_key table

add testing for key storage

add ES256 key tests

Remove caching and implement UpdateOrCreate

Stabilize interfaces

* Encrypt private keys

* Fixup signer

* Fixup ext_jwt

* Add GetOrCreatePrivate with automatic key rotation

* use GetOrCreate for ext_jwt

* use GetOrCreate in id

* catch invalid block type

* fix broken test

* remove key generator

* reduce public interface of signing service
2023-10-04 10:37:27 +02:00
..
database Encryption: Cache new DEKs (only) after a caution period (#60664) 2023-01-26 10:54:31 +01:00
fakes Encryption: Cache new DEKs (only) after a caution period (#60664) 2023-01-26 10:54:31 +01:00
kvstore Chore: remove IsDisabled method for access control (#74340) 2023-09-05 11:04:39 +01:00
manager Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
migrator Auth: Signing Key persistence (#75487) 2023-10-04 10:37:27 +02:00
secrets.go Encryption: Cache new DEKs (only) after a caution period (#60664) 2023-01-26 10:54:31 +01:00
types.go Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00