Commit Graph

9 Commits

Author SHA1 Message Date
KM Koushik 04d0f4b123 feat: support standard AWS env vars and default credential chain (#401)
* feat: support standard AWS env vars and default credential chain

Replace non-standard AWS_ACCESS_KEY / AWS_SECRET_KEY with the AWS-standard
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY. The old names are kept as
fallbacks in the runtimeEnv for backward compatibility.

Both vars are now optional. When omitted, the credentials object is not
passed to SESv2Client, STSClient, or SNSClient — the AWS SDK then falls
back to its default provider chain (IAM roles, ECS task roles, instance
profiles, etc.), which is the recommended approach for cloud-native deployments.

Closes #316

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* refactor: extract shared getAwsCredentialOptions helper and add partial-config guard

- Move the credential spread logic into a single credentials.ts helper
  so SESv2Client, STSClient, and SNSClient all share one implementation
- Throw a clear error if only one of AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY
  is set, preventing silent fallback to the default provider chain with a
  half-configured environment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: align AWS env vars in docker and docs

* fix: use alias import for AWS credentials helper

---------

Co-authored-by: purva <purvahk08@gmail.com>
Co-authored-by: Purva Kandalgaonkar <136103488+purva-8@users.noreply.github.com>
2026-05-17 21:23:28 +10:00
mino eacf231173 docs: add .env symlink setup instructions for apps/web (#287)
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-08 06:52:47 +11:00
KM Koushik 07c53d3f58 rebrand to useSend (#210) 2025-09-03 08:21:55 +10:00
Matt Stein a6e8a1c362 GithubGitHub (#171) 2025-06-08 10:41:56 +10:00
KM Koushik 0a1d93ac60 make dev setup better (#116)
* make dev setup better

* chage docs

* remove the need of github login
2025-03-17 21:33:43 +11:00
Arxk 9c5da6dca6 Added transaction to creating an SES setting & upgraded to Prisma ORM 6 (#109)
* Added transaction to creating SES setting & upgraded Prisma to Prisma ORM 6

* Keep logging of the queue status in

---------

Co-authored-by: Kumarion <121711454+Kumarion@users.noreply.github.com>
2025-03-08 23:05:28 +11:00
Giorgio Boa 2137ba8eab fix(docs): adjust env variables (#95) 2025-01-20 09:02:23 +11:00
Harsh Shrikant Bhat 0c072579b9 perf: Enable Prisma Optimize (#44)
* Enable Prisma Optimize

* Added Environment variable to toggle on and off the Prisma Optimize

---------

Co-authored-by: harshsbhat <icybhat@gmail.com>
2024-08-01 06:35:14 +10:00
Harsh Shrikant Bhat bc237c881c feat: Added local development guide (#39)
* Added local development guide

* Added local development guide

* Added local development guide

* Update local.mdx

---------

Co-authored-by: harshsbhat <icybhat@gmail.com>
Co-authored-by: KM Koushik <koushikmohan1996@gmail.com>
2024-07-27 07:47:10 +10:00