Skip to content

Commit a2f25e3

Browse files
authored
chore(credential-provider-node): fix readme typo (#6180)
1 parent c32a043 commit a2f25e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/credential-provider-node/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
## AWS Credential Provider for Node.JS
77

8-
This module provides a factory function, `fromEnv`, that will attempt to source
9-
AWS credentials from a Node.JS environment. It will attempt to find credentials
10-
from the following sources (listed in order of precedence):
8+
This module provides a factory function, `defaultProvider`, that will attempt to
9+
source AWS credentials from a Node.JS environment. It will attempt to find
10+
credentials from the following sources (listed in order of precedence):
1111

1212
- Environment variables exposed via `process.env`
1313
- SSO credentials from token cache

0 commit comments

Comments
 (0)