mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-11 08:15:01 -05:00
Update GCP KMS tests and implementation
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
fefff8ee92
commit
f1299a40f4
4 changed files with 364 additions and 293 deletions
|
|
@ -113,7 +113,7 @@ func getKMS(ctx context.Context, kmsURI string, store kms.Storage) (kms.CloudKMS
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return gcp.New(project, location, keyRing, store, kmspb.ProtectionLevel(protectionLvl)), nil
|
||||
return gcp.New(ctx, project, location, keyRing, store, kmspb.ProtectionLevel(protectionLvl))
|
||||
|
||||
case "cluster-kms":
|
||||
return &ClusterKMS{}, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue