mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 05:19:49 +00:00
feat: updated kms service to return only kms details and some more minor changes
This commit is contained in:
@@ -650,7 +650,7 @@ export const projectServiceFactory = ({
|
||||
|
||||
const updateProjectKmsKey = async ({
|
||||
projectId,
|
||||
secretManagerKmsKeyId,
|
||||
kms,
|
||||
actor,
|
||||
actorId,
|
||||
actorAuthMethod,
|
||||
@@ -666,7 +666,10 @@ export const projectServiceFactory = ({
|
||||
|
||||
ForbiddenError.from(permission).throwUnlessCan(ProjectPermissionActions.Edit, ProjectPermissionSub.Kms);
|
||||
|
||||
const secretManagerKmsKey = await kmsService.updateProjectSecretManagerKmsKey(projectId, secretManagerKmsKeyId);
|
||||
const secretManagerKmsKey = await kmsService.updateProjectSecretManagerKmsKey({
|
||||
projectId,
|
||||
kms
|
||||
});
|
||||
|
||||
return {
|
||||
secretManagerKmsKey
|
||||
|
||||
Reference in New Issue
Block a user