Skip to content

Instantly share code, notes, and snippets.

@cloneko
Created September 27, 2017 02:26
Show Gist options
  • Save cloneko/6a99ced2049a46e1c8bcdcc9bd6679ac to your computer and use it in GitHub Desktop.
Save cloneko/6a99ced2049a46e1c8bcdcc9bd6679ac to your computer and use it in GitHub Desktop.
AWS Virtual MFA
const passcode = require('passcode')
const AWS_SECRET = 'SECRET Strings!!'
console.log(require('passcode').totp({secret: AWS_SECRET, encoding: 'base32'}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment