https://github.com/edivangalindo/aws-test
A little tool to fastly test if AWS IAM keys are valid
https://github.com/edivangalindo/aws-test
aws bugbounty iam infosec sast security-tools
Last synced: 5 months ago
JSON representation
A little tool to fastly test if AWS IAM keys are valid
- Host: GitHub
- URL: https://github.com/edivangalindo/aws-test
- Owner: edivangalindo
- Created: 2022-05-23T17:04:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-24T13:20:15.000Z (about 4 years ago)
- Last Synced: 2025-08-03T00:08:38.861Z (11 months ago)
- Topics: aws, bugbounty, iam, infosec, sast, security-tools
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-test
A little tool to fastly test if AWS IAM keys are valid
The idea for this tool came after a conversation with [Grisolfi](https://github.com/Grisolfi) and [rodrigoramosrs](https://github.com/rodrigoramosrs) about testing AWS related credentials.
This tool will perform a "sts get-caller-identity" without needing to have awscli installed on the machine or having to change your environment variables.
Testing credentials:
```
echo AKIAEXAMPLE000000 askcaExampleSecretGSkdsmcfklams/asdSDasmgkasd123 | aws-test
```
## Installation
First, you'll need to [install go](https://golang.org/doc/install).
Then run this command to download + compile aws-test:
```
go install github.com/edivangalindo/aws-test@latest
```
You can now run `~/go/bin/aws-test`. If you'd like to just run `aws-test` without the full path, you'll need to `export PATH="/go/bin/:$PATH"`. You can also add this line to your `~/.bashrc` file if you'd like this to persist.