@uppy/aws-s3: add support for tempCredentials in s3mini (#6110)

- added `getCredentials` callback in `S3Config`
- simplified signer test util ( `sigv4-signer.js` ) and moved to
`src/signer.ts`
- all tests run in a new non root minio user ( required for sts ) ,
which gets created before the tests start see `tests/s3-client/setup.js`
- tests added for sts , using `@aws-sdk/client-sts` for getting creds.
- credential caching inspired from the current implementation in
`@aws-s3` plugin , see `#getTemporarySecurityCredentials` inside
`@uppy/aws-s3/src/index.ts`

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Prakash 2026-01-07 14:34:30 +05:30 committed by prakash
parent db9506a57c
commit bd8d51b02d
No known key found for this signature in database
9 changed files with 1381 additions and 168 deletions

905
yarn.lock

File diff suppressed because it is too large Load diff