#aws #aws-credentials #async #aws-cli #command-line-interface #cli

app awsx_cli

与多个AWS凭证交互的优化命令行界面。

1 个不稳定版本

0.1.0 2024年3月22日

#27 in #aws-credentials

自定义许可证

16KB

awsx

License Cargo Documentation Changelog

与多个AWS凭证交互时的优化命令行界面。

$ <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="}

服务枚举

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
  }
}

无运行时依赖