@webda/aws 4.0.0-beta.6 → 4.0.0-beta.8

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.
Files changed (35) hide show
  1. package/README.md +5 -6
  2. package/lib/deployers/awsdeployer.d.ts +10 -4
  3. package/lib/deployers/awsdeployer.d.ts.map +1 -1
  4. package/lib/deployers/awsdeployer.js +19 -5
  5. package/lib/deployers/awsdeployer.js.map +1 -1
  6. package/lib/services/aws-parameters.d.ts +17 -3
  7. package/lib/services/aws-parameters.d.ts.map +1 -1
  8. package/lib/services/aws-parameters.js +18 -0
  9. package/lib/services/aws-parameters.js.map +1 -1
  10. package/lib/services/cloudwatchlogger.service.d.ts +6 -4
  11. package/lib/services/cloudwatchlogger.service.d.ts.map +1 -1
  12. package/lib/services/cloudwatchlogger.service.js +2 -2
  13. package/lib/services/cloudwatchlogger.service.js.map +1 -1
  14. package/lib/services/dynamodb.service.d.ts +6 -4
  15. package/lib/services/dynamodb.service.d.ts.map +1 -1
  16. package/lib/services/dynamodb.service.js +2 -2
  17. package/lib/services/dynamodb.service.js.map +1 -1
  18. package/lib/services/lambdacaller.service.d.ts +6 -3
  19. package/lib/services/lambdacaller.service.d.ts.map +1 -1
  20. package/lib/services/lambdacaller.service.js +2 -2
  21. package/lib/services/lambdacaller.service.js.map +1 -1
  22. package/lib/services/s3binary.service.d.ts +21 -4
  23. package/lib/services/s3binary.service.d.ts.map +1 -1
  24. package/lib/services/s3binary.service.js +29 -9
  25. package/lib/services/s3binary.service.js.map +1 -1
  26. package/lib/services/secretsmanager.service.d.ts +6 -4
  27. package/lib/services/secretsmanager.service.d.ts.map +1 -1
  28. package/lib/services/secretsmanager.service.js +2 -2
  29. package/lib/services/secretsmanager.service.js.map +1 -1
  30. package/lib/services/sqsqueue.service.d.ts +6 -4
  31. package/lib/services/sqsqueue.service.d.ts.map +1 -1
  32. package/lib/services/sqsqueue.service.js +2 -2
  33. package/lib/services/sqsqueue.service.js.map +1 -1
  34. package/package.json +8 -8
  35. package/webda.module.json +57 -36
package/webda.module.json CHANGED
@@ -105,16 +105,19 @@
105
105
  "definitions": {
106
106
  "credentials": {
107
107
  "additionalProperties": false,
108
- "description": "Static credentials, default to the AWS environment variables",
108
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
109
109
  "properties": {
110
110
  "accessKeyId": {
111
- "type": "string"
111
+ "type": "string",
112
+ "x-webda-secret": true
112
113
  },
113
114
  "secretAccessKey": {
114
- "type": "string"
115
+ "type": "string",
116
+ "x-webda-secret": true
115
117
  },
116
118
  "sessionToken": {
117
- "type": "string"
119
+ "type": "string",
120
+ "x-webda-secret": true
118
121
  }
119
122
  },
120
123
  "required": [
@@ -128,7 +131,7 @@
128
131
  "properties": {
129
132
  "credentials": {
130
133
  "$ref": "#/definitions/credentials",
131
- "description": "Static credentials, default to the AWS environment variables"
134
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
132
135
  },
133
136
  "endpoint": {
134
137
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -701,8 +704,9 @@
701
704
  "description": "Default Tags to use with resources created by deployers"
702
705
  },
703
706
  "accessKeyId": {
704
- "description": "AWS_ACCESS_KEY_ID to use\n\nUsing static key is not recommended",
705
- "type": "string"
707
+ "description": "AWS_ACCESS_KEY_ID to use\n\nUsing static key is not recommended\n\nCan be encrypted with `webda config encrypt`",
708
+ "type": "string",
709
+ "x-webda-secret": true
706
710
  },
707
711
  "endpoints": {
708
712
  "$ref": "#/definitions/endpoints",
@@ -718,12 +722,14 @@
718
722
  "type": "string"
719
723
  },
720
724
  "secretAccessKey": {
721
- "description": "AWS_SECRET_ACCESS_KEY to use\n\nUsing static key is not recommended",
722
- "type": "string"
725
+ "description": "AWS_SECRET_ACCESS_KEY to use\n\nUsing static key is not recommended\n\nCan be encrypted with `webda config encrypt`",
726
+ "type": "string",
727
+ "x-webda-secret": true
723
728
  },
724
729
  "sessionToken": {
725
- "description": "AWS_SESSION_TOKEN Token\n\nEven if it is possible to add it here\nIt is not sustainable as this token at its best will\nhave a lifetime of 12 hours",
726
- "type": "string"
730
+ "description": "AWS_SESSION_TOKEN Token\n\nEven if it is possible to add it here\nIt is not sustainable as this token at its best will\nhave a lifetime of 12 hours\n\nCan be encrypted with `webda config encrypt`",
731
+ "type": "string",
732
+ "x-webda-secret": true
727
733
  },
728
734
  "type": {
729
735
  "description": "Type of the service",
@@ -764,16 +770,19 @@
764
770
  "definitions": {
765
771
  "credentials": {
766
772
  "additionalProperties": false,
767
- "description": "Static credentials, default to the AWS environment variables",
773
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
768
774
  "properties": {
769
775
  "accessKeyId": {
770
- "type": "string"
776
+ "type": "string",
777
+ "x-webda-secret": true
771
778
  },
772
779
  "secretAccessKey": {
773
- "type": "string"
780
+ "type": "string",
781
+ "x-webda-secret": true
774
782
  },
775
783
  "sessionToken": {
776
- "type": "string"
784
+ "type": "string",
785
+ "x-webda-secret": true
777
786
  }
778
787
  },
779
788
  "required": [
@@ -795,7 +804,7 @@
795
804
  },
796
805
  "credentials": {
797
806
  "$ref": "#/definitions/credentials",
798
- "description": "Static credentials, default to the AWS environment variables"
807
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
799
808
  },
800
809
  "endpoint": {
801
810
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -871,16 +880,19 @@
871
880
  },
872
881
  "credentials": {
873
882
  "additionalProperties": false,
874
- "description": "Static credentials, default to the AWS environment variables",
883
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
875
884
  "properties": {
876
885
  "accessKeyId": {
877
- "type": "string"
886
+ "type": "string",
887
+ "x-webda-secret": true
878
888
  },
879
889
  "secretAccessKey": {
880
- "type": "string"
890
+ "type": "string",
891
+ "x-webda-secret": true
881
892
  },
882
893
  "sessionToken": {
883
- "type": "string"
894
+ "type": "string",
895
+ "x-webda-secret": true
884
896
  }
885
897
  },
886
898
  "required": [
@@ -943,7 +955,7 @@
943
955
  },
944
956
  "credentials": {
945
957
  "$ref": "#/definitions/credentials",
946
- "description": "Static credentials, default to the AWS environment variables"
958
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
947
959
  },
948
960
  "defaultModel": {
949
961
  "default": true,
@@ -1041,16 +1053,19 @@
1041
1053
  "definitions": {
1042
1054
  "credentials": {
1043
1055
  "additionalProperties": false,
1044
- "description": "Static credentials, default to the AWS environment variables",
1056
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1045
1057
  "properties": {
1046
1058
  "accessKeyId": {
1047
- "type": "string"
1059
+ "type": "string",
1060
+ "x-webda-secret": true
1048
1061
  },
1049
1062
  "secretAccessKey": {
1050
- "type": "string"
1063
+ "type": "string",
1064
+ "x-webda-secret": true
1051
1065
  },
1052
1066
  "sessionToken": {
1053
- "type": "string"
1067
+ "type": "string",
1068
+ "x-webda-secret": true
1054
1069
  }
1055
1070
  },
1056
1071
  "required": [
@@ -1076,7 +1091,7 @@
1076
1091
  },
1077
1092
  "credentials": {
1078
1093
  "$ref": "#/definitions/credentials",
1079
- "description": "Static credentials, default to the AWS environment variables"
1094
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1080
1095
  },
1081
1096
  "endpoint": {
1082
1097
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -1258,16 +1273,19 @@
1258
1273
  "definitions": {
1259
1274
  "credentials": {
1260
1275
  "additionalProperties": false,
1261
- "description": "Static credentials, default to the AWS environment variables",
1276
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1262
1277
  "properties": {
1263
1278
  "accessKeyId": {
1264
- "type": "string"
1279
+ "type": "string",
1280
+ "x-webda-secret": true
1265
1281
  },
1266
1282
  "secretAccessKey": {
1267
- "type": "string"
1283
+ "type": "string",
1284
+ "x-webda-secret": true
1268
1285
  },
1269
1286
  "sessionToken": {
1270
- "type": "string"
1287
+ "type": "string",
1288
+ "x-webda-secret": true
1271
1289
  }
1272
1290
  },
1273
1291
  "required": [
@@ -1303,7 +1321,7 @@
1303
1321
  },
1304
1322
  "credentials": {
1305
1323
  "$ref": "#/definitions/credentials",
1306
- "description": "Static credentials, default to the AWS environment variables"
1324
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1307
1325
  },
1308
1326
  "endpoint": {
1309
1327
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -1378,16 +1396,19 @@
1378
1396
  },
1379
1397
  "credentials": {
1380
1398
  "additionalProperties": false,
1381
- "description": "Static credentials, default to the AWS environment variables",
1399
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1382
1400
  "properties": {
1383
1401
  "accessKeyId": {
1384
- "type": "string"
1402
+ "type": "string",
1403
+ "x-webda-secret": true
1385
1404
  },
1386
1405
  "secretAccessKey": {
1387
- "type": "string"
1406
+ "type": "string",
1407
+ "x-webda-secret": true
1388
1408
  },
1389
1409
  "sessionToken": {
1390
- "type": "string"
1410
+ "type": "string",
1411
+ "x-webda-secret": true
1391
1412
  }
1392
1413
  },
1393
1414
  "required": [
@@ -1418,7 +1439,7 @@
1418
1439
  },
1419
1440
  "credentials": {
1420
1441
  "$ref": "#/definitions/credentials",
1421
- "description": "Static credentials, default to the AWS environment variables"
1442
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1422
1443
  },
1423
1444
  "endpoint": {
1424
1445
  "description": "Custom endpoint (localstack, minio, ...)",