mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
update minio/kes-go dep to v0.2.0 (#17850)
This commit updates the minio/kes-go dependency to v0.2.0 and updates the existing code to work with the new KES APIs. The `SetPolicy` handler got removed since it may not get implemented by KES at all and could not have been used in the past since stateless KES is read-only w.r.t. policies and identities. Signed-off-by: Andreas Auernhammer <hi@aead.dev>
This commit is contained in:
committed by
GitHub
parent
4c6869cd9a
commit
8f8f8854f0
@@ -34,9 +34,8 @@ type KeyManager interface {
|
||||
// anymore, and therefore, is lost.
|
||||
DeleteKey(ctx context.Context, keyID string) error
|
||||
|
||||
// ListKeys List all key names that match the specified pattern. In particular,
|
||||
// the pattern * lists all keys.
|
||||
ListKeys(ctx context.Context, pattern string) (*kes.KeyIterator, error)
|
||||
// ListKeys lists all key names.
|
||||
ListKeys(ctx context.Context) (*kes.ListIter[string], error)
|
||||
|
||||
// ImportKey imports a cryptographic key into the KMS.
|
||||
ImportKey(ctx context.Context, keyID string, bytes []byte) error
|
||||
|
||||
Reference in New Issue
Block a user