Simple curl
-like utility with V4 request signing support..
npm install aws-su-curl -g
- Make sure your IAM credentials are discoverable:
- via environment variables
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
- via
aws-cli
authentication profile (defaults to profiledefault
)
- via environment variables
aws-su-curl
tries to figure out right set of credentials to use automatically.
aws-su-curl -X POST "XXXX" -H "Content-Type: application/json" -d "XXXX"