diff --git a/packages/key-utils/src/functions.ts b/packages/key-utils/src/functions.ts index c4366f79..70add634 100644 --- a/packages/key-utils/src/functions.ts +++ b/packages/key-utils/src/functions.ts @@ -28,7 +28,7 @@ export const logger = Loggers.DEFAULT.get('sphereon:key-utils') * @param kms. Optional KMS to use. If provided will be the returned name. Otherwise the default KMS will be returned */ export const getKms = async (context: IAgentContext, kms?: string): Promise => { - if (kms && kms !== 'default') { + if (kms) { return kms } if (!context.agent.availableMethods().includes('keyManagerGetDefaultKeyManagementSystem')) {