@ibm-cloud/secrets-manager 2.0.7 → 2.0.9
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 +4 -0
- package/README.md +0 -2
- package/examples/secrets-manager.v2.test.js +1211 -1211
- package/package.json +2 -2
- package/secrets-manager/v2.d.ts +540 -186
- package/secrets-manager/v2.js +150 -68
- package/secrets-manager/v2.js.map +1 -1
package/secrets-manager/v2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* (C) Copyright IBM Corp.
|
|
3
|
+
* (C) Copyright IBM Corp. 2025.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -77,7 +77,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
|
-
* IBM OpenAPI SDK Code Generator Version: 3.
|
|
80
|
+
* IBM OpenAPI SDK Code Generator Version: 3.99.1-daeb6e46-20250131-173156
|
|
81
81
|
*/
|
|
82
82
|
/* eslint-disable max-classes-per-file */
|
|
83
83
|
/* eslint-disable no-await-in-loop */
|
|
@@ -201,7 +201,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
201
201
|
body: body,
|
|
202
202
|
},
|
|
203
203
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
204
|
-
headers: extend(true, sdkHeaders, {
|
|
204
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
205
205
|
'Accept': 'application/json',
|
|
206
206
|
'Content-Type': 'application/json',
|
|
207
207
|
}, _params.headers),
|
|
@@ -233,7 +233,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
233
233
|
method: 'GET',
|
|
234
234
|
},
|
|
235
235
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
236
|
-
headers: extend(true, sdkHeaders, {
|
|
236
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
237
237
|
'Accept': 'application/json',
|
|
238
238
|
}, _params.headers),
|
|
239
239
|
}),
|
|
@@ -246,7 +246,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
246
246
|
* Get the properties of an existing secret group by specifying the ID of the group.
|
|
247
247
|
*
|
|
248
248
|
* @param {Object} params - The parameters to send to the service.
|
|
249
|
-
* @param {string} params.id - The
|
|
249
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret group.
|
|
250
250
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
251
251
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretGroup>>}
|
|
252
252
|
*/
|
|
@@ -269,7 +269,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
269
269
|
path: path,
|
|
270
270
|
},
|
|
271
271
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
272
|
-
headers: extend(true, sdkHeaders, {
|
|
272
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
273
273
|
'Accept': 'application/json',
|
|
274
274
|
}, _params.headers),
|
|
275
275
|
}),
|
|
@@ -282,7 +282,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
282
282
|
* Update the properties of an existing secret group, such as its name or description.
|
|
283
283
|
*
|
|
284
284
|
* @param {Object} params - The parameters to send to the service.
|
|
285
|
-
* @param {string} params.id - The
|
|
285
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret group.
|
|
286
286
|
* @param {string} [params.name] - The name of your secret group.
|
|
287
287
|
* @param {string} [params.description] - An extended description of your secret group.
|
|
288
288
|
*
|
|
@@ -315,7 +315,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
315
315
|
path: path,
|
|
316
316
|
},
|
|
317
317
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
318
|
-
headers: extend(true, sdkHeaders, {
|
|
318
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
319
319
|
'Accept': 'application/json',
|
|
320
320
|
'Content-Type': 'application/merge-patch+json',
|
|
321
321
|
}, _params.headers),
|
|
@@ -332,7 +332,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
332
332
|
* you must first delete the secrets that are associated with the group.
|
|
333
333
|
*
|
|
334
334
|
* @param {Object} params - The parameters to send to the service.
|
|
335
|
-
* @param {string} params.id - The
|
|
335
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret group.
|
|
336
336
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
337
337
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.EmptyObject>>}
|
|
338
338
|
*/
|
|
@@ -355,7 +355,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
355
355
|
path: path,
|
|
356
356
|
},
|
|
357
357
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
358
|
-
headers: extend(true, sdkHeaders, {}, _params.headers),
|
|
358
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {}, _params.headers),
|
|
359
359
|
}),
|
|
360
360
|
};
|
|
361
361
|
return this.createRequest(parameters);
|
|
@@ -398,7 +398,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
398
398
|
body: body,
|
|
399
399
|
},
|
|
400
400
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
401
|
-
headers: extend(true, sdkHeaders, {
|
|
401
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
402
402
|
'Accept': 'application/json',
|
|
403
403
|
'Content-Type': 'application/json',
|
|
404
404
|
}, _params.headers),
|
|
@@ -484,7 +484,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
484
484
|
qs: query,
|
|
485
485
|
},
|
|
486
486
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
487
|
-
headers: extend(true, sdkHeaders, {
|
|
487
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
488
488
|
'Accept': 'application/json',
|
|
489
489
|
}, _params.headers),
|
|
490
490
|
}),
|
|
@@ -500,7 +500,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
500
500
|
* view only the details of a specified secret without retrieving its value, use the Get secret metadata operation.
|
|
501
501
|
*
|
|
502
502
|
* @param {Object} params - The parameters to send to the service.
|
|
503
|
-
* @param {string} params.id - The
|
|
503
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
504
504
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
505
505
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.Secret>>}
|
|
506
506
|
*/
|
|
@@ -523,7 +523,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
523
523
|
path: path,
|
|
524
524
|
},
|
|
525
525
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
526
|
-
headers: extend(true, sdkHeaders, {
|
|
526
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
527
527
|
'Accept': 'application/json',
|
|
528
528
|
}, _params.headers),
|
|
529
529
|
}),
|
|
@@ -536,7 +536,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
536
536
|
* Delete a secret by specifying the ID of the secret.
|
|
537
537
|
*
|
|
538
538
|
* @param {Object} params - The parameters to send to the service.
|
|
539
|
-
* @param {string} params.id - The
|
|
539
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
540
540
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
541
541
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.EmptyObject>>}
|
|
542
542
|
*/
|
|
@@ -559,7 +559,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
559
559
|
path: path,
|
|
560
560
|
},
|
|
561
561
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
562
|
-
headers: extend(true, sdkHeaders, {}, _params.headers),
|
|
562
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {}, _params.headers),
|
|
563
563
|
}),
|
|
564
564
|
};
|
|
565
565
|
return this.createRequest(parameters);
|
|
@@ -570,7 +570,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
570
570
|
* Get the metadata of a secret by specifying the ID of the secret.
|
|
571
571
|
*
|
|
572
572
|
* @param {Object} params - The parameters to send to the service.
|
|
573
|
-
* @param {string} params.id - The
|
|
573
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
574
574
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
575
575
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretMetadata>>}
|
|
576
576
|
*/
|
|
@@ -593,7 +593,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
593
593
|
path: path,
|
|
594
594
|
},
|
|
595
595
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
596
|
-
headers: extend(true, sdkHeaders, {
|
|
596
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
597
597
|
'Accept': 'application/json',
|
|
598
598
|
}, _params.headers),
|
|
599
599
|
}),
|
|
@@ -606,7 +606,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
606
606
|
* Update the metadata of a secret, such as its name or description.
|
|
607
607
|
*
|
|
608
608
|
* @param {Object} params - The parameters to send to the service.
|
|
609
|
-
* @param {string} params.id - The
|
|
609
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
610
610
|
* @param {SecretMetadataPatch} params.secretMetadataPatch -
|
|
611
611
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
612
612
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretMetadata>>}
|
|
@@ -632,7 +632,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
632
632
|
path: path,
|
|
633
633
|
},
|
|
634
634
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
635
|
-
headers: extend(true, sdkHeaders, {
|
|
635
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
636
636
|
'Accept': 'application/json',
|
|
637
637
|
'Content-Type': 'application/merge-patch+json',
|
|
638
638
|
}, _params.headers),
|
|
@@ -646,7 +646,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
646
646
|
* Create a secret action. This operation supports the following actions:.
|
|
647
647
|
*
|
|
648
648
|
* @param {Object} params - The parameters to send to the service.
|
|
649
|
-
* @param {string} params.id - The
|
|
649
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
650
650
|
* @param {SecretActionPrototype} params.secretActionPrototype -
|
|
651
651
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
652
652
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretAction>>}
|
|
@@ -672,7 +672,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
672
672
|
path: path,
|
|
673
673
|
},
|
|
674
674
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
675
|
-
headers: extend(true, sdkHeaders, {
|
|
675
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
676
676
|
'Accept': 'application/json',
|
|
677
677
|
'Content-Type': 'application/json',
|
|
678
678
|
}, _params.headers),
|
|
@@ -718,7 +718,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
718
718
|
path: path,
|
|
719
719
|
},
|
|
720
720
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
721
|
-
headers: extend(true, sdkHeaders, {
|
|
721
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
722
722
|
'Accept': 'application/json',
|
|
723
723
|
}, _params.headers),
|
|
724
724
|
}),
|
|
@@ -734,7 +734,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
734
734
|
* Create a new secret version.
|
|
735
735
|
*
|
|
736
736
|
* @param {Object} params - The parameters to send to the service.
|
|
737
|
-
* @param {string} params.secretId - The
|
|
737
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
738
738
|
* @param {SecretVersionPrototype} params.secretVersionPrototype -
|
|
739
739
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
740
740
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretVersion>>}
|
|
@@ -760,7 +760,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
760
760
|
path: path,
|
|
761
761
|
},
|
|
762
762
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
763
|
-
headers: extend(true, sdkHeaders, {
|
|
763
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
764
764
|
'Accept': 'application/json',
|
|
765
765
|
'Content-Type': 'application/json',
|
|
766
766
|
}, _params.headers),
|
|
@@ -776,7 +776,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
776
776
|
* A successful request returns the list of versions of a secret, along with the metadata of each version.
|
|
777
777
|
*
|
|
778
778
|
* @param {Object} params - The parameters to send to the service.
|
|
779
|
-
* @param {string} params.secretId - The
|
|
779
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
780
780
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
781
781
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretVersionMetadataCollection>>}
|
|
782
782
|
*/
|
|
@@ -799,7 +799,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
799
799
|
path: path,
|
|
800
800
|
},
|
|
801
801
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
802
|
-
headers: extend(true, sdkHeaders, {
|
|
802
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
803
803
|
'Accept': 'application/json',
|
|
804
804
|
}, _params.headers),
|
|
805
805
|
}),
|
|
@@ -816,8 +816,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
816
816
|
* with other metadata.
|
|
817
817
|
*
|
|
818
818
|
* @param {Object} params - The parameters to send to the service.
|
|
819
|
-
* @param {string} params.secretId - The
|
|
820
|
-
* @param {string} params.id - The
|
|
819
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
820
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
821
821
|
* `previous` aliases to refer to the current or previous secret version.
|
|
822
822
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
823
823
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretVersion>>}
|
|
@@ -842,7 +842,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
842
842
|
path: path,
|
|
843
843
|
},
|
|
844
844
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
845
|
-
headers: extend(true, sdkHeaders, {
|
|
845
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
846
846
|
'Accept': 'application/json',
|
|
847
847
|
}, _params.headers),
|
|
848
848
|
}),
|
|
@@ -857,8 +857,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
857
857
|
* This operation is available for secret type: iam_credentials current version.
|
|
858
858
|
*
|
|
859
859
|
* @param {Object} params - The parameters to send to the service.
|
|
860
|
-
* @param {string} params.secretId - The
|
|
861
|
-
* @param {string} params.id - The
|
|
860
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
861
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
862
862
|
* `previous` aliases to refer to the current or previous secret version.
|
|
863
863
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
864
864
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.EmptyObject>>}
|
|
@@ -883,7 +883,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
883
883
|
path: path,
|
|
884
884
|
},
|
|
885
885
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
886
|
-
headers: extend(true, sdkHeaders, {}, _params.headers),
|
|
886
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {}, _params.headers),
|
|
887
887
|
}),
|
|
888
888
|
};
|
|
889
889
|
return this.createRequest(parameters);
|
|
@@ -897,8 +897,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
897
897
|
* A successful request returns the metadata that is associated with the specified version of your secret.
|
|
898
898
|
*
|
|
899
899
|
* @param {Object} params - The parameters to send to the service.
|
|
900
|
-
* @param {string} params.secretId - The
|
|
901
|
-
* @param {string} params.id - The
|
|
900
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
901
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
902
902
|
* `previous` aliases to refer to the current or previous secret version.
|
|
903
903
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
904
904
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretVersionMetadata>>}
|
|
@@ -923,7 +923,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
923
923
|
path: path,
|
|
924
924
|
},
|
|
925
925
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
926
|
-
headers: extend(true, sdkHeaders, {
|
|
926
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
927
927
|
'Accept': 'application/json',
|
|
928
928
|
}, _params.headers),
|
|
929
929
|
}),
|
|
@@ -936,8 +936,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
936
936
|
* Update the custom metadata of a secret version.
|
|
937
937
|
*
|
|
938
938
|
* @param {Object} params - The parameters to send to the service.
|
|
939
|
-
* @param {string} params.secretId - The
|
|
940
|
-
* @param {string} params.id - The
|
|
939
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
940
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
941
941
|
* `previous` aliases to refer to the current or previous secret version.
|
|
942
942
|
* @param {JsonObject} [params.versionCustomMetadata] - The secret version metadata that a user can customize.
|
|
943
943
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
@@ -967,7 +967,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
967
967
|
path: path,
|
|
968
968
|
},
|
|
969
969
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
970
|
-
headers: extend(true, sdkHeaders, {
|
|
970
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
971
971
|
'Accept': 'application/json',
|
|
972
972
|
'Content-Type': 'application/merge-patch+json',
|
|
973
973
|
}, _params.headers),
|
|
@@ -983,8 +983,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
983
983
|
* - `private_cert_action_revoke_certificate`: Revoke a version of a private certificate.
|
|
984
984
|
*
|
|
985
985
|
* @param {Object} params - The parameters to send to the service.
|
|
986
|
-
* @param {string} params.secretId - The
|
|
987
|
-
* @param {string} params.id - The
|
|
986
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
987
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
988
988
|
* `previous` aliases to refer to the current or previous secret version.
|
|
989
989
|
* @param {SecretVersionActionPrototype} params.secretVersionActionPrototype -
|
|
990
990
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
@@ -1012,7 +1012,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1012
1012
|
path: path,
|
|
1013
1013
|
},
|
|
1014
1014
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1015
|
-
headers: extend(true, sdkHeaders, {
|
|
1015
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1016
1016
|
'Accept': 'application/json',
|
|
1017
1017
|
'Content-Type': 'application/json',
|
|
1018
1018
|
}, _params.headers),
|
|
@@ -1076,7 +1076,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1076
1076
|
qs: query,
|
|
1077
1077
|
},
|
|
1078
1078
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1079
|
-
headers: extend(true, sdkHeaders, {
|
|
1079
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1080
1080
|
'Accept': 'application/json',
|
|
1081
1081
|
}, _params.headers),
|
|
1082
1082
|
}),
|
|
@@ -1089,7 +1089,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1089
1089
|
* List the locks that are associated with a specified secret.
|
|
1090
1090
|
*
|
|
1091
1091
|
* @param {Object} params - The parameters to send to the service.
|
|
1092
|
-
* @param {string} params.id - The
|
|
1092
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
1093
1093
|
* @param {number} [params.offset] - The number of locks to skip. By specifying `offset`, you retrieve a subset of
|
|
1094
1094
|
* items that starts with the `offset` value. Use `offset` with `limit` to page through your available resources.
|
|
1095
1095
|
*
|
|
@@ -1141,7 +1141,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1141
1141
|
path: path,
|
|
1142
1142
|
},
|
|
1143
1143
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1144
|
-
headers: extend(true, sdkHeaders, {
|
|
1144
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1145
1145
|
'Accept': 'application/json',
|
|
1146
1146
|
}, _params.headers),
|
|
1147
1147
|
}),
|
|
@@ -1164,7 +1164,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1164
1164
|
* the data of the previous secret version if it doesn't have any locks.
|
|
1165
1165
|
*
|
|
1166
1166
|
* @param {Object} params - The parameters to send to the service.
|
|
1167
|
-
* @param {string} params.id - The
|
|
1167
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
1168
1168
|
* @param {SecretLockPrototype[]} params.locks - The locks data to be attached to a secret version.
|
|
1169
1169
|
* @param {string} [params.mode] - An optional lock mode. When you create a lock, you can set one of the following
|
|
1170
1170
|
* modes to clear any matching locks on a secret version.
|
|
@@ -1201,7 +1201,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1201
1201
|
path: path,
|
|
1202
1202
|
},
|
|
1203
1203
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1204
|
-
headers: extend(true, sdkHeaders, {
|
|
1204
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1205
1205
|
'Accept': 'application/json',
|
|
1206
1206
|
'Content-Type': 'application/json',
|
|
1207
1207
|
}, _params.headers),
|
|
@@ -1223,7 +1223,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1223
1223
|
* of your secret.
|
|
1224
1224
|
*
|
|
1225
1225
|
* @param {Object} params - The parameters to send to the service.
|
|
1226
|
-
* @param {string} params.id - The
|
|
1226
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret.
|
|
1227
1227
|
* @param {string[]} [params.name] - Specify the names of the secret locks to be deleted.
|
|
1228
1228
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
1229
1229
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.SecretLocks>>}
|
|
@@ -1251,7 +1251,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1251
1251
|
path: path,
|
|
1252
1252
|
},
|
|
1253
1253
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1254
|
-
headers: extend(true, sdkHeaders, {
|
|
1254
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1255
1255
|
'Accept': 'application/json',
|
|
1256
1256
|
}, _params.headers),
|
|
1257
1257
|
}),
|
|
@@ -1264,8 +1264,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1264
1264
|
* List the locks that are associated with a specified secret version.
|
|
1265
1265
|
*
|
|
1266
1266
|
* @param {Object} params - The parameters to send to the service.
|
|
1267
|
-
* @param {string} params.secretId - The
|
|
1268
|
-
* @param {string} params.id - The
|
|
1267
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
1268
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
1269
1269
|
* `previous` aliases to refer to the current or previous secret version.
|
|
1270
1270
|
* @param {number} [params.offset] - The number of locks to skip. By specifying `offset`, you retrieve a subset of
|
|
1271
1271
|
* items that starts with the `offset` value. Use `offset` with `limit` to page through your available resources.
|
|
@@ -1319,7 +1319,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1319
1319
|
path: path,
|
|
1320
1320
|
},
|
|
1321
1321
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1322
|
-
headers: extend(true, sdkHeaders, {
|
|
1322
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1323
1323
|
'Accept': 'application/json',
|
|
1324
1324
|
}, _params.headers),
|
|
1325
1325
|
}),
|
|
@@ -1342,8 +1342,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1342
1342
|
* the data of the previous secret version if it doesn't have any locks.
|
|
1343
1343
|
*
|
|
1344
1344
|
* @param {Object} params - The parameters to send to the service.
|
|
1345
|
-
* @param {string} params.secretId - The
|
|
1346
|
-
* @param {string} params.id - The
|
|
1345
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
1346
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
1347
1347
|
* `previous` aliases to refer to the current or previous secret version.
|
|
1348
1348
|
* @param {SecretLockPrototype[]} params.locks - The locks data to be attached to a secret version.
|
|
1349
1349
|
* @param {string} [params.mode] - An optional lock mode. When you create a lock, you can set one of the following
|
|
@@ -1382,7 +1382,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1382
1382
|
path: path,
|
|
1383
1383
|
},
|
|
1384
1384
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1385
|
-
headers: extend(true, sdkHeaders, {
|
|
1385
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1386
1386
|
'Accept': 'application/json',
|
|
1387
1387
|
'Content-Type': 'application/json',
|
|
1388
1388
|
}, _params.headers),
|
|
@@ -1404,8 +1404,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1404
1404
|
* of your secret.
|
|
1405
1405
|
*
|
|
1406
1406
|
* @param {Object} params - The parameters to send to the service.
|
|
1407
|
-
* @param {string} params.secretId - The
|
|
1408
|
-
* @param {string} params.id - The
|
|
1407
|
+
* @param {string} params.secretId - The UUID that uniquely identifies your secret.
|
|
1408
|
+
* @param {string} params.id - The UUID that uniquely identifies your secret version. You can use the `current` or
|
|
1409
1409
|
* `previous` aliases to refer to the current or previous secret version.
|
|
1410
1410
|
* @param {string[]} [params.name] - Specify the names of the secret locks to be deleted.
|
|
1411
1411
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
@@ -1435,7 +1435,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1435
1435
|
path: path,
|
|
1436
1436
|
},
|
|
1437
1437
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1438
|
-
headers: extend(true, sdkHeaders, {
|
|
1438
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1439
1439
|
'Accept': 'application/json',
|
|
1440
1440
|
}, _params.headers),
|
|
1441
1441
|
}),
|
|
@@ -1484,7 +1484,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1484
1484
|
body: body,
|
|
1485
1485
|
},
|
|
1486
1486
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1487
|
-
headers: extend(true, sdkHeaders, {
|
|
1487
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1488
1488
|
'Accept': 'application/json',
|
|
1489
1489
|
'Content-Type': 'application/json',
|
|
1490
1490
|
}, _params.headers),
|
|
@@ -1557,7 +1557,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1557
1557
|
qs: query,
|
|
1558
1558
|
},
|
|
1559
1559
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1560
|
-
headers: extend(true, sdkHeaders, {
|
|
1560
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1561
1561
|
'Accept': 'application/json',
|
|
1562
1562
|
}, _params.headers),
|
|
1563
1563
|
}),
|
|
@@ -1597,7 +1597,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1597
1597
|
path: path,
|
|
1598
1598
|
},
|
|
1599
1599
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1600
|
-
headers: extend(true, sdkHeaders, {
|
|
1600
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1601
1601
|
'Accept': 'application/json',
|
|
1602
1602
|
'X-Sm-Accept-Configuration-Type': _params.xSmAcceptConfigurationType,
|
|
1603
1603
|
}, _params.headers),
|
|
@@ -1639,7 +1639,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1639
1639
|
path: path,
|
|
1640
1640
|
},
|
|
1641
1641
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1642
|
-
headers: extend(true, sdkHeaders, {
|
|
1642
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1643
1643
|
'Accept': 'application/json',
|
|
1644
1644
|
'Content-Type': 'application/merge-patch+json',
|
|
1645
1645
|
'X-Sm-Accept-Configuration-Type': _params.xSmAcceptConfigurationType,
|
|
@@ -1679,7 +1679,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1679
1679
|
path: path,
|
|
1680
1680
|
},
|
|
1681
1681
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1682
|
-
headers: extend(true, sdkHeaders, {
|
|
1682
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1683
1683
|
'X-Sm-Accept-Configuration-Type': _params.xSmAcceptConfigurationType,
|
|
1684
1684
|
}, _params.headers),
|
|
1685
1685
|
}),
|
|
@@ -1698,6 +1698,8 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1698
1698
|
* authority certificate.
|
|
1699
1699
|
* - `private_cert_configuration_action_rotate_crl`: Rotate the certificate revocation list (CRL) of an intermediate
|
|
1700
1700
|
* certificate authority.
|
|
1701
|
+
* - `private_cert_configuration_action_rotate_intermediate`: Rotate an internally signed intermediate certificate
|
|
1702
|
+
* authority certificate.
|
|
1701
1703
|
*
|
|
1702
1704
|
* @param {Object} params - The parameters to send to the service.
|
|
1703
1705
|
* @param {string} params.name - The name that uniquely identifies a configuration.
|
|
@@ -1728,7 +1730,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1728
1730
|
path: path,
|
|
1729
1731
|
},
|
|
1730
1732
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1731
|
-
headers: extend(true, sdkHeaders, {
|
|
1733
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1732
1734
|
'Accept': 'application/json',
|
|
1733
1735
|
'Content-Type': 'application/json',
|
|
1734
1736
|
'X-Sm-Accept-Configuration-Type': _params.xSmAcceptConfigurationType,
|
|
@@ -1780,7 +1782,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1780
1782
|
body: body,
|
|
1781
1783
|
},
|
|
1782
1784
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1783
|
-
headers: extend(true, sdkHeaders, {
|
|
1785
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1784
1786
|
'Accept': 'application/json',
|
|
1785
1787
|
'Content-Type': 'application/json',
|
|
1786
1788
|
}, _params.headers),
|
|
@@ -1812,7 +1814,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1812
1814
|
method: 'GET',
|
|
1813
1815
|
},
|
|
1814
1816
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1815
|
-
headers: extend(true, sdkHeaders, {
|
|
1817
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {
|
|
1816
1818
|
'Accept': 'application/json',
|
|
1817
1819
|
}, _params.headers),
|
|
1818
1820
|
}),
|
|
@@ -1845,7 +1847,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1845
1847
|
method: 'DELETE',
|
|
1846
1848
|
},
|
|
1847
1849
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1848
|
-
headers: extend(true, sdkHeaders, {}, _params.headers),
|
|
1850
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {}, _params.headers),
|
|
1849
1851
|
}),
|
|
1850
1852
|
};
|
|
1851
1853
|
return this.createRequest(parameters);
|
|
@@ -1879,7 +1881,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1879
1881
|
method: 'GET',
|
|
1880
1882
|
},
|
|
1881
1883
|
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
1882
|
-
headers: extend(true, sdkHeaders, {}, _params.headers),
|
|
1884
|
+
headers: extend(true, sdkHeaders, this.baseOptions.headers, {}, _params.headers),
|
|
1883
1885
|
}),
|
|
1884
1886
|
};
|
|
1885
1887
|
return this.createRequest(parameters);
|
|
@@ -2035,6 +2037,44 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2035
2037
|
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2036
2038
|
})(Constants = CertificateIssuanceInfo.Constants || (CertificateIssuanceInfo.Constants = {}));
|
|
2037
2039
|
})(CertificateIssuanceInfo = SecretsManagerV2.CertificateIssuanceInfo || (SecretsManagerV2.CertificateIssuanceInfo = {}));
|
|
2040
|
+
var ImportedCertificateManagedCsr;
|
|
2041
|
+
(function (ImportedCertificateManagedCsr) {
|
|
2042
|
+
var Constants;
|
|
2043
|
+
(function (Constants) {
|
|
2044
|
+
/** The type of private key to generate. */
|
|
2045
|
+
var KeyType;
|
|
2046
|
+
(function (KeyType) {
|
|
2047
|
+
KeyType["RSA"] = "rsa";
|
|
2048
|
+
KeyType["EC"] = "ec";
|
|
2049
|
+
KeyType["ED25519"] = "ed25519";
|
|
2050
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
2051
|
+
})(Constants = ImportedCertificateManagedCsr.Constants || (ImportedCertificateManagedCsr.Constants = {}));
|
|
2052
|
+
})(ImportedCertificateManagedCsr = SecretsManagerV2.ImportedCertificateManagedCsr || (SecretsManagerV2.ImportedCertificateManagedCsr = {}));
|
|
2053
|
+
var ImportedCertificateManagedCsrResponse;
|
|
2054
|
+
(function (ImportedCertificateManagedCsrResponse) {
|
|
2055
|
+
var Constants;
|
|
2056
|
+
(function (Constants) {
|
|
2057
|
+
/** The type of private key to generate. */
|
|
2058
|
+
var KeyType;
|
|
2059
|
+
(function (KeyType) {
|
|
2060
|
+
KeyType["RSA"] = "rsa";
|
|
2061
|
+
KeyType["EC"] = "ec";
|
|
2062
|
+
KeyType["ED25519"] = "ed25519";
|
|
2063
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
2064
|
+
})(Constants = ImportedCertificateManagedCsrResponse.Constants || (ImportedCertificateManagedCsrResponse.Constants = {}));
|
|
2065
|
+
})(ImportedCertificateManagedCsrResponse = SecretsManagerV2.ImportedCertificateManagedCsrResponse || (SecretsManagerV2.ImportedCertificateManagedCsrResponse = {}));
|
|
2066
|
+
var PrivateCertificateConfigurationRotateAction;
|
|
2067
|
+
(function (PrivateCertificateConfigurationRotateAction) {
|
|
2068
|
+
var Constants;
|
|
2069
|
+
(function (Constants) {
|
|
2070
|
+
/** The format of the returned data. */
|
|
2071
|
+
var Format;
|
|
2072
|
+
(function (Format) {
|
|
2073
|
+
Format["PEM"] = "pem";
|
|
2074
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2075
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2076
|
+
})(Constants = PrivateCertificateConfigurationRotateAction.Constants || (PrivateCertificateConfigurationRotateAction.Constants = {}));
|
|
2077
|
+
})(PrivateCertificateConfigurationRotateAction = SecretsManagerV2.PrivateCertificateConfigurationRotateAction || (SecretsManagerV2.PrivateCertificateConfigurationRotateAction = {}));
|
|
2038
2078
|
var SecretLock;
|
|
2039
2079
|
(function (SecretLock) {
|
|
2040
2080
|
var Constants;
|
|
@@ -2707,6 +2747,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2707
2747
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2708
2748
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2709
2749
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2750
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2710
2751
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2711
2752
|
})(Constants = PrivateCertificateConfigurationActionRevoke.Constants || (PrivateCertificateConfigurationActionRevoke.Constants = {}));
|
|
2712
2753
|
})(PrivateCertificateConfigurationActionRevoke = SecretsManagerV2.PrivateCertificateConfigurationActionRevoke || (SecretsManagerV2.PrivateCertificateConfigurationActionRevoke = {}));
|
|
@@ -2722,9 +2763,26 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2722
2763
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2723
2764
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2724
2765
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2766
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2725
2767
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2726
2768
|
})(Constants = PrivateCertificateConfigurationActionRevokePrototype.Constants || (PrivateCertificateConfigurationActionRevokePrototype.Constants = {}));
|
|
2727
2769
|
})(PrivateCertificateConfigurationActionRevokePrototype = SecretsManagerV2.PrivateCertificateConfigurationActionRevokePrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionRevokePrototype = {}));
|
|
2770
|
+
var PrivateCertificateConfigurationActionRotate;
|
|
2771
|
+
(function (PrivateCertificateConfigurationActionRotate) {
|
|
2772
|
+
var Constants;
|
|
2773
|
+
(function (Constants) {
|
|
2774
|
+
/** The type of configuration action. */
|
|
2775
|
+
var ActionType;
|
|
2776
|
+
(function (ActionType) {
|
|
2777
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2778
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2779
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2780
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2781
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2782
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2783
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2784
|
+
})(Constants = PrivateCertificateConfigurationActionRotate.Constants || (PrivateCertificateConfigurationActionRotate.Constants = {}));
|
|
2785
|
+
})(PrivateCertificateConfigurationActionRotate = SecretsManagerV2.PrivateCertificateConfigurationActionRotate || (SecretsManagerV2.PrivateCertificateConfigurationActionRotate = {}));
|
|
2728
2786
|
var PrivateCertificateConfigurationActionRotateCRL;
|
|
2729
2787
|
(function (PrivateCertificateConfigurationActionRotateCRL) {
|
|
2730
2788
|
var Constants;
|
|
@@ -2737,6 +2795,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2737
2795
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2738
2796
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2739
2797
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2798
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2740
2799
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2741
2800
|
})(Constants = PrivateCertificateConfigurationActionRotateCRL.Constants || (PrivateCertificateConfigurationActionRotateCRL.Constants = {}));
|
|
2742
2801
|
})(PrivateCertificateConfigurationActionRotateCRL = SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRL || (SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRL = {}));
|
|
@@ -2752,9 +2811,26 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2752
2811
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2753
2812
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2754
2813
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2814
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2755
2815
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2756
2816
|
})(Constants = PrivateCertificateConfigurationActionRotateCRLPrototype.Constants || (PrivateCertificateConfigurationActionRotateCRLPrototype.Constants = {}));
|
|
2757
2817
|
})(PrivateCertificateConfigurationActionRotateCRLPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRLPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRLPrototype = {}));
|
|
2818
|
+
var PrivateCertificateConfigurationActionRotatePrototype;
|
|
2819
|
+
(function (PrivateCertificateConfigurationActionRotatePrototype) {
|
|
2820
|
+
var Constants;
|
|
2821
|
+
(function (Constants) {
|
|
2822
|
+
/** The type of configuration action. */
|
|
2823
|
+
var ActionType;
|
|
2824
|
+
(function (ActionType) {
|
|
2825
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2826
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2827
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2828
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2829
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2830
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2831
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2832
|
+
})(Constants = PrivateCertificateConfigurationActionRotatePrototype.Constants || (PrivateCertificateConfigurationActionRotatePrototype.Constants = {}));
|
|
2833
|
+
})(PrivateCertificateConfigurationActionRotatePrototype = SecretsManagerV2.PrivateCertificateConfigurationActionRotatePrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionRotatePrototype = {}));
|
|
2758
2834
|
var PrivateCertificateConfigurationActionSetSigned;
|
|
2759
2835
|
(function (PrivateCertificateConfigurationActionSetSigned) {
|
|
2760
2836
|
var Constants;
|
|
@@ -2767,6 +2843,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2767
2843
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2768
2844
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2769
2845
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2846
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2770
2847
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2771
2848
|
})(Constants = PrivateCertificateConfigurationActionSetSigned.Constants || (PrivateCertificateConfigurationActionSetSigned.Constants = {}));
|
|
2772
2849
|
})(PrivateCertificateConfigurationActionSetSigned = SecretsManagerV2.PrivateCertificateConfigurationActionSetSigned || (SecretsManagerV2.PrivateCertificateConfigurationActionSetSigned = {}));
|
|
@@ -2782,6 +2859,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2782
2859
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2783
2860
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2784
2861
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2862
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2785
2863
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2786
2864
|
})(Constants = PrivateCertificateConfigurationActionSetSignedPrototype.Constants || (PrivateCertificateConfigurationActionSetSignedPrototype.Constants = {}));
|
|
2787
2865
|
})(PrivateCertificateConfigurationActionSetSignedPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSetSignedPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSetSignedPrototype = {}));
|
|
@@ -2803,6 +2881,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2803
2881
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2804
2882
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2805
2883
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2884
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2806
2885
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2807
2886
|
})(Constants = PrivateCertificateConfigurationActionSignCSR.Constants || (PrivateCertificateConfigurationActionSignCSR.Constants = {}));
|
|
2808
2887
|
})(PrivateCertificateConfigurationActionSignCSR = SecretsManagerV2.PrivateCertificateConfigurationActionSignCSR || (SecretsManagerV2.PrivateCertificateConfigurationActionSignCSR = {}));
|
|
@@ -2824,6 +2903,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2824
2903
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2825
2904
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2826
2905
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2906
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2827
2907
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2828
2908
|
})(Constants = PrivateCertificateConfigurationActionSignCSRPrototype.Constants || (PrivateCertificateConfigurationActionSignCSRPrototype.Constants = {}));
|
|
2829
2909
|
})(PrivateCertificateConfigurationActionSignCSRPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSignCSRPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSignCSRPrototype = {}));
|
|
@@ -2845,6 +2925,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2845
2925
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2846
2926
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2847
2927
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2928
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2848
2929
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2849
2930
|
})(Constants = PrivateCertificateConfigurationActionSignIntermediate.Constants || (PrivateCertificateConfigurationActionSignIntermediate.Constants = {}));
|
|
2850
2931
|
})(PrivateCertificateConfigurationActionSignIntermediate = SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediate || (SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediate = {}));
|
|
@@ -2866,6 +2947,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2866
2947
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2867
2948
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2868
2949
|
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2950
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_INTERMEDIATE"] = "private_cert_configuration_action_rotate_intermediate";
|
|
2869
2951
|
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2870
2952
|
})(Constants = PrivateCertificateConfigurationActionSignIntermediatePrototype.Constants || (PrivateCertificateConfigurationActionSignIntermediatePrototype.Constants = {}));
|
|
2871
2953
|
})(PrivateCertificateConfigurationActionSignIntermediatePrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediatePrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediatePrototype = {}));
|