@itentialopensource/adapter-utils
Advanced tools
Comparing version 5.9.2 to 5.9.3
## 5.9.3 [10-10-2024] | ||
* add sts region | ||
See merge request itentialopensource/adapter-utils!307 | ||
--- | ||
## 5.9.2 [10-07-2024] | ||
@@ -3,0 +11,0 @@ |
@@ -125,3 +125,3 @@ /* @copyright Itential, LLC 2023 */ | ||
secretAccessKey: this.allProps.authentication.aws_secret_key, | ||
region: this.allProps.region | ||
region: options.region | ||
}; | ||
@@ -136,2 +136,5 @@ // Add optional config items (ssl, endpoint, proxy) | ||
} | ||
if (this.allProps.authentication.aws_sts.region) { | ||
configObj.region = this.allProps.authentication.aws_sts.region; | ||
} | ||
if (this.allProps.authentication.aws_sts.proxy) { | ||
@@ -149,2 +152,3 @@ configObj.httpOptions = { | ||
AWS.config.update(configObj); | ||
log.debug(`STS OPTIONS: ${JSON.stringify(configObj)}`); | ||
@@ -151,0 +155,0 @@ // use STS to get the AWS access information for the user defined in STWS Params |
{ | ||
"name": "@itentialopensource/adapter-utils", | ||
"version": "5.9.2", | ||
"version": "5.9.3", | ||
"description": "Itential Adapter Utility Libraries", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
827628
16652