Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(credential-provider-node): fix readme typo #6180

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

mxxk
Copy link
Contributor

@mxxk mxxk commented Jun 8, 2024

Description

The README of credential-provider-node currently refers to fromEnv (which does not exist in the package). This change fixes README to instead refer to defaultProvider.

Testing

N/A

Additional context

Since the initial introduction of packages/credential-provider-node/README.md in 012558d, the README referred to fromEnv, which did not exist then, nor does it exist now.

Later sections of README refer to the same factory function as defaultProvider:

You may customize how credentials are resolved by providing an options hash to
the `defaultProvider` factory function. The following options are
supported:

This change fixes the inconsistency.

Checklist

  • If you wrote E2E tests, are they resilient to concurrent I/O?
  • If adding new public functions, did you add the @public tag and enable doc generation on the package?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mxxk mxxk requested a review from a team as a code owner June 8, 2024 00:20
Comment on lines +8 to +10
This module provides a factory function, `defaultProvider`, that will attempt to
source AWS credentials from a Node.JS environment. It will attempt to find
credentials from the following sources (listed in order of precedence):
Copy link
Contributor Author

@mxxk mxxk Jun 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reformatting here preserves a line character limit of 80, which seems to be the case for this paragraph prior to this change.

@mxxk
Copy link
Contributor Author

mxxk commented Jun 12, 2024

This is a very trivial PR which fixes a confusing typo in the README of a package, but it sat for 5 days without any activity. @jgrigg @kuhe @siddsriv @trivikr are you the right people to ping to get the ball rolling here?

@kuhe
Copy link
Contributor

kuhe commented Jun 17, 2024

This is a welcome change. We have a large backlog and it may take a long time to get to individual PRs.

@kuhe kuhe merged commit a2f25e3 into aws:main Jun 17, 2024
2 checks passed
@mxxk
Copy link
Contributor Author

mxxk commented Jun 17, 2024

Thank you for clarifying, reviewing, and merging @kuhe!

@mxxk mxxk deleted the credential-provider-node-fix-readme-typo branch June 17, 2024 20:09
Copy link

github-actions bot commented Jul 2, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants