Extract an aws account ID from an IAM key.
Example:
$ ./aws-account-id-from-key ASIAVJ2E6QGR2WZILJFM
364679954851
Based on Tal Be'ery's blog post: https://medium.com/@TalBeerySec/a-short-note-on-aws-key-id-f88cc4317489
Extract an AWS Account ID from an IAM Key
Extract an aws account ID from an IAM key.
Example:
$ ./aws-account-id-from-key ASIAVJ2E6QGR2WZILJFM
364679954851
Based on Tal Be'ery's blog post: https://medium.com/@TalBeerySec/a-short-note-on-aws-key-id-f88cc4317489
Extract an AWS Account ID from an IAM Key
MIT License