@economist/aws-key-rotator
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -69,3 +69,3 @@ "use strict"; | ||
const newKey = data.AccessKey; | ||
console.log(`Created a new Access Key: ${JSON.stringify(newKey)}`); | ||
console.log(`Created a new Access Key with ID: ${newKey.AccessKeyId}`); | ||
return Promise.resolve(newKey); | ||
@@ -83,3 +83,3 @@ }); | ||
.catch((err) => { | ||
console.log(`New Key Handler failed with error: ${JSON.stringify(err)}. New key will be deleted.`); | ||
console.error(`New Key Handler failed with error: ${JSON.stringify(err)}. New key will be deleted.`); | ||
return this.deleteKey(user, key) | ||
@@ -86,0 +86,0 @@ .then(() => Promise.reject(err)); |
{ | ||
"name": "@economist/aws-key-rotator", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "AWS Access Key Rotation", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# aws-key-rotator | ||
[![](https://img.shields.io/circleci/project/github/EconomistDigitalSolutions/aws-key-rotator/master.svg)](https://circleci.com/gh/EconomistDigitalSolutions/aws-key-rotator) | ||
[![codecov](https://codecov.io/gh/EconomistDigitalSolutions/aws-key-rotator/branch/master/graph/badge.svg)](https://codecov.io/gh/EconomistDigitalSolutions/aws-key-rotator) | ||
@@ -4,0 +5,0 @@ # Contents |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48215
114