質問編集履歴
1
誤字を修正(encrypted_db.host → eccrypted_dbhost)
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
try {
|
36
36
|
|
37
|
-
const test_data = await kms.decrypt({ CiphertextBlob: new Buffer(encrypted_db
|
37
|
+
const test_data = await kms.decrypt({ CiphertextBlob: new Buffer(encrypted_dbhost, 'base64') }).promise();
|
38
38
|
|
39
39
|
decrypted = test_data.Plaintext.toString('ascii');
|
40
40
|
|