aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 556 forks source link

(short issue description) #6039

Closed sbrickner closed 2 months ago

sbrickner commented 2 months ago

Describe the issue

There are no examples of how to use this locally in nodejs. Some have suggested using { credentials: fromIni() } but that does not match any config options and errors with ParameterNotFound. As of now it appears there is no way to do this but your documentation suggests there is. Using it without any credentials you get: UnrecognizedClientException: The security token included in the request is invalid.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/

sbrickner commented 2 months ago

Closing this because passing the credential property did actually work in the end. However, I would still suggest documenting this better since there is nothing that actually shows it exists.

github-actions[bot] commented 1 month ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.