More decryption functions and stub test cases for AWS

This commit is contained in:
2025-09-05 08:41:03 +02:00
parent deb3c67d80
commit 6a1a7ba499
4 changed files with 293 additions and 28 deletions

View File

@@ -8,6 +8,15 @@ import (
"testing"
)
type mockProvider struct {
out []byte
err error
}
func (p mockProvider) GetSecret(_ string) ([]byte, error) {
return p.out, p.err
}
type testProviderCase struct {
Name string
Key string