Skip to content

Commit 6f6ccde

Browse files
authored
fix(shell-api): correct KeyVault.createKey() error message (#828)
1 parent c4a61d2 commit 6f6ccde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-api/src/field-level-encryption.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class KeyVault extends ShellApiClass {
138138
masterKeyOrAltNames = undefined;
139139
} else {
140140
throw new MongoshInvalidInputError(
141-
'KeyVault.createKey does not support providing masterKey as string anymore. For AWS please use createKey("aws", { region: ..., masterKey: ... })',
141+
'KeyVault.createKey does not support providing masterKey as string anymore. For AWS please use createKey("aws", { region: ..., key: ... })',
142142
CommonErrors.Deprecated
143143
);
144144
}

0 commit comments

Comments
 (0)