@kody/aws
Inspect AWS identity, S3 object metadata, and CloudWatch with signed REST helpers.
OtherTopics: aws, sts, s3, cloudwatch, logs, metrics, sigv4, iam, dry-run
- Version
- 1.0.0
- License
- MIT
- Published
- September 10, 2026
- Pinned commit
35306c5- Rating
- No ratings yet
- Forks
- 0
- Adaptation effort
- —
README
Agent docs@kody/aws
Intent
Give agents a fork-ready AWS toolkit for STS identity, S3 list/metadata,
CloudWatch logs and metrics, and generic SigV4-signed REST. Auth is a saved
access key plus secret key (optional session token). Reads stay slim. S3 never
dumps object bodies. Writes support dryRun and require confirm: true.
This listing is meant to be forked. The live @kody/aws package does not talk
to a shared AWS account. After you fork, save your own credentials and call the
helpers in your account. No account ids or bucket names belong in this package.
Share this package as https://kody.codes/@kody/aws
What it does
- Resolve STS caller identity (account / ARN / user id)
- List S3 buckets and objects; HEAD object metadata (no body dumps)
- Put or delete S3 objects with dry-run preview and explicit confirm
- Read CloudWatch log groups/events (redacted) and metric statistics
- Call uncommon AWS REST APIs through a SigV4-signed
./requestescape hatch - Optionally store a fork-local default region via
./config
Prerequisites / setup
- Create an IAM user or role session with least-privilege keys from the IAM console. Never paste secret values into chat.
- Save the access key id:
- Save the secret access key:
- Optional temporary session token:
- Approve those amazonaws.com hosts. Add
{service}.{region}.amazonaws.comwhen you call another region. - Default region is
us-east-1unless you passregionor store a fork-local default with./config. - For additional accounts, pass
account: "work"to useawsAccessKeyId-work/awsSecretAccessKey-work.
Agents: see AGENTS.md for import paths, smoke, and dryRun.
Done when
awsAccessKeyIdandawsSecretAccessKeyare saved (optionalawsSessionToken); needed amazonaws.com hosts are approved- Smoke test returns
{ ok: true }(live STS when secrets mount, or setup URLs when they do not) without printing secret values or S3 bodies - S3 put/delete and other writes preview by default and only run live with
confirm: true
Branding
Official AWS smile wordmark (paths from Amazon Web Services)
in Squid Ink #252F3E and Amazon Orange #FF9900. Amazon Web Services® and the
AWS logo are trademarks of Amazon.com, Inc. or its affiliates. This package is
not affiliated with or endorsed by Amazon. community-icon.svg is unmodified
official artwork.
Docs
Report this listing
Log in to report this listing.