Commit 934973d
authored
AWS_PROFILE Env Var Support (#15)
* Added AWS_PROFLE and shared cred
Following convention, if the command line arguments does not specify
a profile, we check the AWS_PROFILE. The sdk session options is also
initialised with SharedConfigEnable to support shared configurations
from the (~/.aws/config). https://github.com/aws/aws-sdk-go#configuring-credentials
* AWS_PROFILE and shared cred
Following convention, if the command line arguments does not specify
a profile, we check the AWS_PROFILE. The sdk session options is also
initialised with SharedConfigEnable to support shared configurations
from the (~/.aws/config). https://github.com/aws/aws-sdk-go#configuring-credentials
* Removing AWS_PROFILE lookup in fav sharedConfigEnabled
By setting up the sharedConfigState to enabled the SDK does take care
of the AWS_PROFILE population: https://docs.aws.amazon.com/sdk-for-go/api/aws/session/#SharedConfigState
* removing unused const AWS_PROFILE1 parent 8c62f4f commit 934973d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
0 commit comments