function getAccessKeyId() {
return new Promise(function(resolve){
chrome.storage.local.get(null, function (result) {
resolve(result.AWSAccessKeyId);
});
});
};
getAccessKeyId().then(function(key){
console.log(key);
});