Skip to content

feat(storage): support S3 IAM role credentials#3617

Open
nitin-bhadauria wants to merge 1 commit into
teableio:developfrom
cloudstaff-apps:feat/s3-iam-role
Open

feat(storage): support S3 IAM role credentials#3617
nitin-bhadauria wants to merge 1 commit into
teableio:developfrom
cloudstaff-apps:feat/s3-iam-role

Conversation

@nitin-bhadauria

Copy link
Copy Markdown

Summary

  • add BACKEND_STORAGE_S3_USE_IAM_ROLE to enable the AWS SDK default credential provider chain for S3 storage
  • omit explicit S3 access key/secret key credentials when IAM role mode is enabled
  • document the env flag and cover static/IAM S3 client construction with unit tests

Tests

  • pnpm -F @teable/backend test-unit src/features/attachments/plugins/s3.spec.ts
  • pnpm -C apps/nestjs-backend exec eslint src/features/attachments/plugins/s3.ts src/features/attachments/plugins/s3.spec.ts --ext .ts,.js,.cjs,.mjs,.mdx

Note: pnpm -F @teable/backend typecheck still fails on existing upstream baseline spec typing errors unrelated to this change.

@CLAassistant

CLAassistant commented Jul 22, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants