Skip to content

Commit fdc7b0e

Browse files
Prepare 1.1.0
1 parent 71ec78e commit fdc7b0e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Get an AWS.Credentials instance by reading a local credentials configuration
1717

1818
| Param | Type | Description |
1919
| --- | --- | --- |
20-
| [profileOverride] | <code>String</code> | Optional override for the profile to use (defaults to an environment variable `AWS_DEFAULT_PROFILE` first, and then to "default" lastly) |
20+
| [profileOverride] | <code>String</code> | Optional override for the profile to use (defaults to an environment variable `AWS_PROFILE` first, then `AWS_DEFAULT_PROFILE` second, and then to "default" lastly) |
2121
| [pathOverride] | <code>String</code> | Optional override for the credentials path (defaults first to the environment variable `AWS_CREDENTIALS_PATH`, and then to `~/.aws/credentials` lastly) |
2222

2323
<a name="module_GetAWSCredentials.getAWSProfiles"></a>

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# AWS-Get-Credentials changelog
22

3+
## v1.1.0
4+
_2020-09-06_
5+
6+
* Read `AWS_PROFILE` before `AWS_DEFAULT_PROFILE`
7+
38
## v1.0.0
49
_2020-02-14_
510

source/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const getCredentialsClass = () => require("aws-sdk").Credentials;
1919
/**
2020
* Get an AWS.Credentials instance by reading a local credentials configuration
2121
* @param {String=} profileOverride Optional override for the profile to use
22-
* (defaults to an environment variable `AWS_PROFILE` first`, then
22+
* (defaults to an environment variable `AWS_PROFILE` first, then
2323
* `AWS_DEFAULT_PROFILE` second, and then to "default" lastly)
2424
* @param {String=} pathOverride Optional override for the credentials path
2525
* (defaults first to the environment variable `AWS_CREDENTIALS_PATH`, and

0 commit comments

Comments
 (0)