質問編集履歴

1

誤字を修正(encrypted_db.host → eccrypted_dbhost)

2019/06/10 01:35

投稿

k.t.est
k.t.est

スコア49

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.host, 'base64') }).promise();
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