We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7596ffa commit a7f5219Copy full SHA for a7f5219
lib/kms/wrapper.js
@@ -82,7 +82,10 @@ const mapKmsProtocolToClient = {
82
function getClientForKey(key) {
83
// returns extracted KeyId so client doesn't need to substring the arnPrefix again
84
const detail = fromArn(key);
85
- const clientIdentifier = `${detail.type}:${detail.protocol}:${detail.provider}`;
+ const clientIdentifier = detail.type
86
+ ? `${detail.type}:${detail.protocol}:${detail.provider}`
87
+ : `${config.sseMigration.previousType}:${config.sseMigration.previousProtocol
88
+ }:${config.sseMigration.previousProvider}`;
89
90
if (detail.protocol === protocol) {
91
// current client
0 commit comments