@konplit-services/common 1.0.201 → 1.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/app.configs.d.ts +2 -0
- package/build/app.configs.js +8 -0
- package/package.json +1 -1
package/build/app.configs.d.ts
CHANGED
package/build/app.configs.js
CHANGED
|
@@ -359,10 +359,18 @@ class AppConfigs {
|
|
|
359
359
|
if (!this.env.AWS_KEYID) {
|
|
360
360
|
throw new Error("AWS_KEYID is required");
|
|
361
361
|
}
|
|
362
|
+
if (!this.env.AWS_REGION) {
|
|
363
|
+
throw new Error("AWS_REGION is required");
|
|
364
|
+
}
|
|
365
|
+
if (!this.env.AWS_ROTATE_KEY) {
|
|
366
|
+
throw new Error("AWS_ROTATE_KEY is required");
|
|
367
|
+
}
|
|
362
368
|
return {
|
|
363
369
|
accessKey: this.env.AWS_ACCESSKEY,
|
|
364
370
|
secretKey: this.env.AWS_SECRETKEY,
|
|
365
371
|
masterKey: this.env.AWS_MASTERKEY,
|
|
372
|
+
region: this.env.AWS_REGION,
|
|
373
|
+
rotateKey: this.env.AWS_ROTATE_KEY,
|
|
366
374
|
keyID: this.env.AWS_KEYID,
|
|
367
375
|
};
|
|
368
376
|
}
|