aws / aws-sdk-js-v3

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

credentials property of SSM constructor is not documented #6029

Closed chrisjameslennon closed 1 month ago

chrisjameslennon commented 2 months ago

Describe the issue

An SSM client (and many other objects) can be created by passing in an AwsCredentialIdentityProvider in the credentials property of the config that is passed in the constructor. I know this because I do it and it works. However I cannot find this anywhere in the documentation.

Links

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

aBurmeseDev commented 2 months ago

Hi @chrisjameslennon - thanks for reaching out.

This page here is what you're looking for, that shows all the credential providers with code examples. I understand that it might be helpful to have it in client pages but it may also cause some confusion which is why we keep everything credential related in one spot.

I appreciate your feedback!

github-actions[bot] commented 2 months ago

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

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.