1 unstable release
0.1.0 | Mar 22, 2024 |
---|
#37 in #aws-credentials
16KB
optimized command line interface when working with many aws credentials.
$ <credentials.jsonl
{"id":"AKIA123456789WORKING","secret":"MHgq4v/OiZ4rFCuIHR53N7c71xehuRFdco5PUvDn"}
{"id":"AKIA123456789INVALID","secret":"Badd4v/OiZ4rFCuIHR53N7c71xehuRFdco5PUvDn"}
{"id":"ASIAXJKKN74ECY5TBEWF","secret":"/WgnBot5LsS8bZHZy3Wfv2AO+R3pQTEbjOXKHKRr","token":"IQoJb3JpZ2luX2VjECwaCXVzLWVhc3QtMSJIMEYCIQDEXM7li5EwiTj8P+pXYWu6kkn/jAe0EaPbxxXaXWwGIgIhANw5XNp7Sb5+jVGAyflRTIaeCWEOJF5ZvJigq58yY+GKKusBCEUQABoMNTAxMDU2NjY3NDAwIgw45T1LxQ5ECumG1tkqyAEXrXJ4SSY3nVopVKj/MD4yJpN8ubURd0Gh1zoGI5godWga+0IVdvJAN+TAT5D2vwstfXFzu4a8yiy9SElF+d7fnd5Pyegb008fusYCLC3AGzez+VFkuIY/LF2/JqAwcWLgxVvIqCF4NtSHVZwM3ORqv1HeYsssRcjVUlUjn4Gbj/GIofRadHoX0g4GuAL+HPCDj80zsKHufPRwKF3TCXQyiGH/fLspWIx+nC7777+spT6YxpNCC3yKaERvlNxPgRh9TtKtLKKorTCm5vWvBjqXAavVgDAqDzdwxoREzPrueHZi3kupw7mu1h/gPtfvx2d5pTmnqIAWP/rlYD3j1HqN6yFpobcbjjnFkaYnw6Mlsf3xwBBGlwnq73D3o2Api38x3ho44SuUXj9AdSIzahk1RylpKsFtfXmtKfrLiRJhxOTExVRMVDhOCy0zm02Rp/GwBUyX/Al64xhXbKsya6cjpfjM1IqRWTU="}
$ awsx check <credentials.jsonl
{"id":"AKIA123456789WORKING","secret":"MHgq4v/OiZ4rFCuIHR53N7c71xehuRFdco5PUvDn"}
{"id":"ASIAXJKKN74ECY5TBEWF","secret":"/WgnBot5LsS8bZHZy3Wfv2AO+R3pQTEbjOXKHKRr","token":"IQoJb3JpZ2luX2VjECwaCXVzLWVhc3QtMSJIMEYCIQDEXM7li5EwiTj8P+pXYWu6kkn/jAe0EaPbxxXaXWwGIgIhANw5XNp7Sb5+jVGAyflRTIaeCWEOJF5ZvJigq58yY+GKKusBCEUQABoMNTAxMDU2NjY3NDAwIgw45T1LxQ5ECumG1tkqyAEXrXJ4SSY3nVopVKj/MD4yJpN8ubURd0Gh1zoGI5godWga+0IVdvJAN+TAT5D2vwstfXFzu4a8yiy9SElF+d7fnd5Pyegb008fusYCLC3AGzez+VFkuIY/LF2/JqAwcWLgxVvIqCF4NtSHVZwM3ORqv1HeYsssRcjVUlUjn4Gbj/GIofRadHoX0g4GuAL+HPCDj80zsKHufPRwKF3TCXQyiGH/fLspWIx+nC7777+spT6YxpNCC3yKaERvlNxPgRh9TtKtLKKorTCm5vWvBjqXAavVgDAqDzdwxoREzPrueHZi3kupw7mu1h/gPtfvx2d5pTmnqIAWP/rlYD3j1HqN6yFpobcbjjnFkaYnw6Mlsf3xwBBGlwnq73D3o2Api38x3ho44SuUXj9AdSIzahk1RylpKsFtfXmtKfrLiRJhxOTExVRMVDhOCy0zm02Rp/GwBUyX/Al64xhXbKsya6cjpfjM1IqRWTU="}
Service enumeration
SES
$ awsx ses <credentials.jsonl | jq
{
"id": "AKIA123456789WORKING",
"secret": "MHgq4v/OiZ4rFCuIHR53N7c71xehuRFdco5PUvDn",
"ses": {
"enforcement_status": "HEALTHY",
"production_access_enabled": true,
"send_per_24hour": 500000,
"send_per_second": 70,
"sent_last_24hour": 291
}
}