@ibm-cloud/secrets-manager 2.0.4 → 2.0.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.0.6](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.5...v2.0.6) (2024-09-09)
2
+
3
+ ## [2.0.5](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.4...v2.0.5) (2024-08-05)
4
+
1
5
  ## [2.0.4](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.3...v2.0.4) (2024-03-11)
2
6
 
3
7
  ## [2.0.3](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.2...v2.0.3) (2024-02-07)
package/README.md CHANGED
@@ -1,9 +1,7 @@
1
1
  ![tests](https://github.com/IBM/secrets-manager-node-sdk/workflows/run-tests/badge.svg)
2
2
 
3
3
  # IBM Cloud Secrets Manager Node SDK
4
-
5
- A Node.js client library to interact with
6
- the [IBM Cloud® Secrets Manager APIs](https://cloud.ibm.com/apidocs/secrets-manager).
4
+ A Node.js client library to interact with the [IBM Cloud® Secrets Manager APIs](https://cloud.ibm.com/apidocs/secrets-manager).
7
5
 
8
6
  <details>
9
7
  <summary>Table of Contents</summary>
@@ -293,27 +293,12 @@ describe('SecretsManagerV2', () => {
293
293
 
294
294
  // Request models needed by this operation.
295
295
 
296
- // PrivateCertificateConfigurationRootCAPrototype
296
+ // PublicCertificateConfigurationDNSCloudInternetServicesPrototype
297
297
  const configurationPrototypeModel = {
298
- config_type: 'private_cert_configuration_root_ca',
299
- name: 'example-root-CA',
300
- max_ttl: '43830h',
301
- crl_expiry: '72h',
302
- crl_disable: false,
303
- crl_distribution_points_encoded: true,
304
- issuing_certificates_urls_encoded: true,
305
- common_name: 'example.com',
306
- alt_names: ['alt-name-1', 'alt-name-2'],
307
- ip_sans: '127.0.0.1',
308
- uri_sans: 'https://www.example.com/test',
309
- other_sans: ['1.2.3.5.4.3.201.10.4.3;utf8:test@example.com'],
310
- ttl: '2190h',
311
- format: 'pem',
312
- private_key_format: 'der',
313
- key_type: 'rsa',
314
- key_bits: 4096,
315
- max_path_length: -1,
316
- exclude_cn_from_sans: false,
298
+ config_type: 'public_cert_configuration_dns_cloud_internet_services',
299
+ name: 'example-cloud-internet-services-config',
300
+ cloud_internet_services_apikey: '5ipu_ykv0PMp2MhxQnDMn7VzrkSlBwi3BOI8uthi_EXZ',
301
+ cloud_internet_services_crn: 'crn:v1:bluemix:public:internet-svcs:global:a/128e84fcca45c1224aae525d31ef2b52:009a0357-1460-42b4-b903-10580aba7dd8::',
317
302
  };
318
303
 
319
304
  const params = {
@@ -899,6 +884,7 @@ describe('SecretsManagerV2', () => {
899
884
  limit: 10,
900
885
  sort: 'config_type',
901
886
  search: 'example',
887
+ secretTypes: ['iam_credentials', 'public_cert', 'private_cert'],
902
888
  };
903
889
 
904
890
  const allResults = [];
@@ -932,7 +918,7 @@ describe('SecretsManagerV2', () => {
932
918
 
933
919
  const params = {
934
920
  name: configurationNameForGetConfigurationLink,
935
- xSmAcceptConfigurationType: 'private_cert_configuration_root_ca',
921
+ xSmAcceptConfigurationType: 'public_cert_configuration_dns_cloud_internet_services',
936
922
  };
937
923
 
938
924
  let res;
@@ -961,15 +947,16 @@ describe('SecretsManagerV2', () => {
961
947
 
962
948
  // Request models needed by this operation.
963
949
 
964
- // IAMCredentialsConfigurationPatch
950
+ // PublicCertificateConfigurationDNSCloudInternetServicesPatch
965
951
  const configurationPatchModel = {
966
- api_key: 'RmnPBn6n1dzoo0v3kyznKEpg0WzdTpW9lW7FtKa017_u',
952
+ cloud_internet_services_apikey: '5ipu_ykv0PMp2MhxQnDMn7VzrkSlBwi3BOI8uthi_EXZ',
953
+ cloud_internet_services_crn: 'crn:v1:bluemix:public:internet-svcs:global:a/128e84fcca45c1224aae525d31ef2b52:009a0357-1460-42b4-b903-10580aba7dd8::',
967
954
  };
968
955
 
969
956
  const params = {
970
957
  name: configurationNameForGetConfigurationLink,
971
958
  configurationPatch: configurationPatchModel,
972
- xSmAcceptConfigurationType: 'private_cert_configuration_root_ca',
959
+ xSmAcceptConfigurationType: 'public_cert_configuration_dns_cloud_internet_services',
973
960
  };
974
961
 
975
962
  let res;
@@ -1006,7 +993,7 @@ describe('SecretsManagerV2', () => {
1006
993
  const params = {
1007
994
  name: configurationNameForGetConfigurationLink,
1008
995
  configActionPrototype: configurationActionPrototypeModel,
1009
- xSmAcceptConfigurationType: 'private_cert_configuration_root_ca',
996
+ xSmAcceptConfigurationType: 'public_cert_configuration_dns_cloud_internet_services',
1010
997
  };
1011
998
 
1012
999
  let res;
@@ -1244,7 +1231,7 @@ describe('SecretsManagerV2', () => {
1244
1231
 
1245
1232
  const params = {
1246
1233
  name: configurationNameForGetConfigurationLink,
1247
- xSmAcceptConfigurationType: 'private_cert_configuration_root_ca',
1234
+ xSmAcceptConfigurationType: 'public_cert_configuration_dns_cloud_internet_services',
1248
1235
  };
1249
1236
 
1250
1237
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/secrets-manager",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Client library for IBM Cloud Secrets Manager",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "extend": "^3.0.2",
39
- "ibm-cloud-sdk-core": "^4.2.2"
39
+ "ibm-cloud-sdk-core": "^5.0.0"
40
40
  },
41
41
  "jest": {
42
42
  "collectCoverage": true,