You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00:00:02.791 Error: Credential is missing
00:00:02.791 at re.credentialProvider (https://esm.sh/v103/@aws-sdk/[email protected]/deno/client-s3.js:4:179910)
00:00:02.791 at re.signRequest (https://esm.sh/v103/@aws-sdk/[email protected]/deno/signature-v4.js:3:522)
00:00:02.791 at re.sign (https://esm.sh/v103/@aws-sdk/[email protected]/deno/signature-v4.js:2:4709)
00:00:02.791 at sign (https://esm.sh/v103/@aws-sdk/[email protected]/deno/signature-v4-multi-region.js:2:788)
00:00:02.791 at https://esm.sh/v103/@aws-sdk/[email protected]/deno/middleware-signing.js:2:2366
00:00:02.791 at async https://esm.sh/v103/@aws-sdk/[email protected]/deno/middleware-retry.js:2:5465
00:00:02.791 at async https://esm.sh/v103/@aws-sdk/[email protected]/deno/middleware-logger.js:2:34
Reproduction Steps
Create a deno file (send-file.ts) to execute some AWS actions:
Describe the bug
I realise the following is not a NodeJS usage.
Using the AWS SDK with Deno using esm.sh: https://esm.sh/@aws-sdk/[email protected]
We can't seem to be able to pick the AWS ec2 instance metadata credentials.
Do we need to create a provider ourselves?
Any insights or help appreciated.
Expected Behavior
To have the AWS SDK logged in automatically.
Current Behavior
Throw an error:
Reproduction Steps
Create a deno file (
send-file.ts
) to execute some AWS actions:Possible Solution
The only solution we found is that it seems to work this one:
Repo source: https://github.com/christophgysin/aws-sdk-js-v3
But we get build errors from this repo, the esm.sh one should be more future-proof.
Additional Information/Context
I've asked some question there as well:
christophgysin/aws-sdk-js-v3#38
SDK version used
3.254.0
Environment details (OS name and version, etc.)
Linux / github actions / mac os 12.1
The text was updated successfully, but these errors were encountered: