Created
May 1, 2021 17:16
-
-
Save paulozullu/202ddc8e0111950a2eb180329a4e77dd to your computer and use it in GitHub Desktop.
AWS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sts = new AWS.STS(); | |
sts.getCallerIdentity({}, function (err, data) { | |
if (err) { | |
console.log('Error', err); | |
} else { | |
console.log(JSON.stringify({ data })); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment