oci-keymanagement 2.75.0 → 2.76.0
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/lib/client.d.ts +46 -46
- package/lib/client.js +62 -46
- package/lib/client.js.map +1 -1
- package/lib/request/backup-key-request.d.ts +1 -1
- package/lib/request/backup-vault-request.d.ts +1 -1
- package/lib/request/cancel-key-deletion-request.d.ts +1 -1
- package/lib/request/cancel-key-version-deletion-request.d.ts +1 -1
- package/lib/request/cancel-vault-deletion-request.d.ts +1 -1
- package/lib/request/change-key-compartment-request.d.ts +1 -1
- package/lib/request/change-vault-compartment-request.d.ts +1 -1
- package/lib/request/create-ekms-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-key-request.d.ts +1 -1
- package/lib/request/create-key-version-request.d.ts +1 -1
- package/lib/request/create-vault-replica-request.d.ts +1 -1
- package/lib/request/create-vault-request.d.ts +1 -1
- package/lib/request/decrypt-request.d.ts +1 -1
- package/lib/request/delete-ekms-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-vault-replica-request.d.ts +1 -1
- package/lib/request/disable-key-request.d.ts +1 -1
- package/lib/request/enable-key-request.d.ts +1 -1
- package/lib/request/encrypt-request.d.ts +1 -1
- package/lib/request/export-key-request.d.ts +1 -1
- package/lib/request/generate-data-encryption-key-request.d.ts +1 -1
- package/lib/request/get-ekms-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-key-request.d.ts +1 -1
- package/lib/request/get-key-version-request.d.ts +1 -1
- package/lib/request/get-replication-status-request.d.ts +1 -1
- package/lib/request/get-vault-request.d.ts +1 -1
- package/lib/request/get-vault-usage-request.d.ts +1 -1
- package/lib/request/get-wrapping-key-request.d.ts +1 -1
- package/lib/request/import-key-request.d.ts +1 -1
- package/lib/request/import-key-version-request.d.ts +1 -1
- package/lib/request/list-ekms-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-key-versions-request.d.ts +1 -1
- package/lib/request/list-keys-request.d.ts +1 -1
- package/lib/request/list-vault-replicas-request.d.ts +1 -1
- package/lib/request/list-vaults-request.d.ts +1 -1
- package/lib/request/restore-key-from-file-request.d.ts +1 -1
- package/lib/request/restore-key-from-object-store-request.d.ts +1 -1
- package/lib/request/restore-vault-from-file-request.d.ts +1 -1
- package/lib/request/restore-vault-from-object-store-request.d.ts +1 -1
- package/lib/request/schedule-key-deletion-request.d.ts +1 -1
- package/lib/request/schedule-key-version-deletion-request.d.ts +1 -1
- package/lib/request/schedule-vault-deletion-request.d.ts +1 -1
- package/lib/request/sign-request.d.ts +1 -1
- package/lib/request/update-ekms-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-key-request.d.ts +1 -1
- package/lib/request/update-vault-request.d.ts +1 -1
- package/lib/request/verify-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -84,6 +84,10 @@ class EkmClient {
|
|
|
84
84
|
? clientConfiguration.bodyDuplexMode
|
|
85
85
|
: undefined;
|
|
86
86
|
}
|
|
87
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("keymanagement")) {
|
|
88
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
89
|
+
throw errmsg.concat("keymanagement");
|
|
90
|
+
}
|
|
87
91
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
88
92
|
const specCircuitBreakerEnabled = true;
|
|
89
93
|
if (!this._circuitBreaker &&
|
|
@@ -186,7 +190,7 @@ class EkmClient {
|
|
|
186
190
|
* @param CreateEkmsPrivateEndpointRequest
|
|
187
191
|
* @return CreateEkmsPrivateEndpointResponse
|
|
188
192
|
* @throws OciError when an error occurs
|
|
189
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CreateEkmsPrivateEndpoint.ts.html |here} to see how to use CreateEkmsPrivateEndpoint API.
|
|
190
194
|
*/
|
|
191
195
|
createEkmsPrivateEndpoint(createEkmsPrivateEndpointRequest) {
|
|
192
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -254,7 +258,7 @@ class EkmClient {
|
|
|
254
258
|
* @param DeleteEkmsPrivateEndpointRequest
|
|
255
259
|
* @return DeleteEkmsPrivateEndpointResponse
|
|
256
260
|
* @throws OciError when an error occurs
|
|
257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/DeleteEkmsPrivateEndpoint.ts.html |here} to see how to use DeleteEkmsPrivateEndpoint API.
|
|
258
262
|
*/
|
|
259
263
|
deleteEkmsPrivateEndpoint(deleteEkmsPrivateEndpointRequest) {
|
|
260
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -314,7 +318,7 @@ class EkmClient {
|
|
|
314
318
|
* @param GetEkmsPrivateEndpointRequest
|
|
315
319
|
* @return GetEkmsPrivateEndpointResponse
|
|
316
320
|
* @throws OciError when an error occurs
|
|
317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetEkmsPrivateEndpoint.ts.html |here} to see how to use GetEkmsPrivateEndpoint API.
|
|
318
322
|
*/
|
|
319
323
|
getEkmsPrivateEndpoint(getEkmsPrivateEndpointRequest) {
|
|
320
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -378,7 +382,7 @@ class EkmClient {
|
|
|
378
382
|
* @param ListEkmsPrivateEndpointsRequest
|
|
379
383
|
* @return ListEkmsPrivateEndpointsResponse
|
|
380
384
|
* @throws OciError when an error occurs
|
|
381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ListEkmsPrivateEndpoints.ts.html |here} to see how to use ListEkmsPrivateEndpoints API.
|
|
382
386
|
*/
|
|
383
387
|
listEkmsPrivateEndpoints(listEkmsPrivateEndpointsRequest) {
|
|
384
388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -485,7 +489,7 @@ class EkmClient {
|
|
|
485
489
|
* @param UpdateEkmsPrivateEndpointRequest
|
|
486
490
|
* @return UpdateEkmsPrivateEndpointResponse
|
|
487
491
|
* @throws OciError when an error occurs
|
|
488
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
492
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/UpdateEkmsPrivateEndpoint.ts.html |here} to see how to use UpdateEkmsPrivateEndpoint API.
|
|
489
493
|
*/
|
|
490
494
|
updateEkmsPrivateEndpoint(updateEkmsPrivateEndpointRequest) {
|
|
491
495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -578,6 +582,10 @@ class KmsCryptoClient {
|
|
|
578
582
|
? clientConfiguration.bodyDuplexMode
|
|
579
583
|
: undefined;
|
|
580
584
|
}
|
|
585
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("keymanagement")) {
|
|
586
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
587
|
+
throw errmsg.concat("keymanagement");
|
|
588
|
+
}
|
|
581
589
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
582
590
|
const specCircuitBreakerEnabled = true;
|
|
583
591
|
if (!this._circuitBreaker &&
|
|
@@ -624,7 +632,7 @@ class KmsCryptoClient {
|
|
|
624
632
|
* @param DecryptRequest
|
|
625
633
|
* @return DecryptResponse
|
|
626
634
|
* @throws OciError when an error occurs
|
|
627
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/Decrypt.ts.html |here} to see how to use Decrypt API.
|
|
628
636
|
*/
|
|
629
637
|
decrypt(decryptRequest) {
|
|
630
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -683,7 +691,7 @@ class KmsCryptoClient {
|
|
|
683
691
|
* @param EncryptRequest
|
|
684
692
|
* @return EncryptResponse
|
|
685
693
|
* @throws OciError when an error occurs
|
|
686
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
694
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/Encrypt.ts.html |here} to see how to use Encrypt API.
|
|
687
695
|
*/
|
|
688
696
|
encrypt(encryptRequest) {
|
|
689
697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -744,7 +752,7 @@ class KmsCryptoClient {
|
|
|
744
752
|
* @param ExportKeyRequest
|
|
745
753
|
* @return ExportKeyResponse
|
|
746
754
|
* @throws OciError when an error occurs
|
|
747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
755
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ExportKey.ts.html |here} to see how to use ExportKey API.
|
|
748
756
|
*/
|
|
749
757
|
exportKey(exportKeyRequest) {
|
|
750
758
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -801,7 +809,7 @@ class KmsCryptoClient {
|
|
|
801
809
|
* @param GenerateDataEncryptionKeyRequest
|
|
802
810
|
* @return GenerateDataEncryptionKeyResponse
|
|
803
811
|
* @throws OciError when an error occurs
|
|
804
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GenerateDataEncryptionKey.ts.html |here} to see how to use GenerateDataEncryptionKey API.
|
|
805
813
|
*/
|
|
806
814
|
generateDataEncryptionKey(generateDataEncryptionKeyRequest) {
|
|
807
815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -862,7 +870,7 @@ class KmsCryptoClient {
|
|
|
862
870
|
* @param SignRequest
|
|
863
871
|
* @return SignResponse
|
|
864
872
|
* @throws OciError when an error occurs
|
|
865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
873
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/Sign.ts.html |here} to see how to use Sign API.
|
|
866
874
|
*/
|
|
867
875
|
sign(signRequest) {
|
|
868
876
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -923,7 +931,7 @@ class KmsCryptoClient {
|
|
|
923
931
|
* @param VerifyRequest
|
|
924
932
|
* @return VerifyResponse
|
|
925
933
|
* @throws OciError when an error occurs
|
|
926
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/Verify.ts.html |here} to see how to use Verify API.
|
|
927
935
|
*/
|
|
928
936
|
verify(verifyRequest) {
|
|
929
937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1008,6 +1016,10 @@ class KmsManagementClient {
|
|
|
1008
1016
|
? clientConfiguration.bodyDuplexMode
|
|
1009
1017
|
: undefined;
|
|
1010
1018
|
}
|
|
1019
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("keymanagement")) {
|
|
1020
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
1021
|
+
throw errmsg.concat("keymanagement");
|
|
1022
|
+
}
|
|
1011
1023
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1012
1024
|
const specCircuitBreakerEnabled = true;
|
|
1013
1025
|
if (!this._circuitBreaker &&
|
|
@@ -1076,7 +1088,7 @@ class KmsManagementClient {
|
|
|
1076
1088
|
* @param BackupKeyRequest
|
|
1077
1089
|
* @return BackupKeyResponse
|
|
1078
1090
|
* @throws OciError when an error occurs
|
|
1079
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1091
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/BackupKey.ts.html |here} to see how to use BackupKey API.
|
|
1080
1092
|
*/
|
|
1081
1093
|
backupKey(backupKeyRequest) {
|
|
1082
1094
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1155,7 +1167,7 @@ class KmsManagementClient {
|
|
|
1155
1167
|
* @param CancelKeyDeletionRequest
|
|
1156
1168
|
* @return CancelKeyDeletionResponse
|
|
1157
1169
|
* @throws OciError when an error occurs
|
|
1158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CancelKeyDeletion.ts.html |here} to see how to use CancelKeyDeletion API.
|
|
1159
1171
|
*/
|
|
1160
1172
|
cancelKeyDeletion(cancelKeyDeletionRequest) {
|
|
1161
1173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1228,7 +1240,7 @@ class KmsManagementClient {
|
|
|
1228
1240
|
* @param CancelKeyVersionDeletionRequest
|
|
1229
1241
|
* @return CancelKeyVersionDeletionResponse
|
|
1230
1242
|
* @throws OciError when an error occurs
|
|
1231
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1243
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CancelKeyVersionDeletion.ts.html |here} to see how to use CancelKeyVersionDeletion API.
|
|
1232
1244
|
*/
|
|
1233
1245
|
cancelKeyVersionDeletion(cancelKeyVersionDeletionRequest) {
|
|
1234
1246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1303,7 +1315,7 @@ class KmsManagementClient {
|
|
|
1303
1315
|
* @param ChangeKeyCompartmentRequest
|
|
1304
1316
|
* @return ChangeKeyCompartmentResponse
|
|
1305
1317
|
* @throws OciError when an error occurs
|
|
1306
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1318
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ChangeKeyCompartment.ts.html |here} to see how to use ChangeKeyCompartment API.
|
|
1307
1319
|
*/
|
|
1308
1320
|
changeKeyCompartment(changeKeyCompartmentRequest) {
|
|
1309
1321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1371,7 +1383,7 @@ class KmsManagementClient {
|
|
|
1371
1383
|
* @param CreateKeyRequest
|
|
1372
1384
|
* @return CreateKeyResponse
|
|
1373
1385
|
* @throws OciError when an error occurs
|
|
1374
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1386
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CreateKey.ts.html |here} to see how to use CreateKey API.
|
|
1375
1387
|
*/
|
|
1376
1388
|
createKey(createKeyRequest) {
|
|
1377
1389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1441,7 +1453,7 @@ class KmsManagementClient {
|
|
|
1441
1453
|
* @param CreateKeyVersionRequest
|
|
1442
1454
|
* @return CreateKeyVersionResponse
|
|
1443
1455
|
* @throws OciError when an error occurs
|
|
1444
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CreateKeyVersion.ts.html |here} to see how to use CreateKeyVersion API.
|
|
1445
1457
|
*/
|
|
1446
1458
|
createKeyVersion(createKeyVersionRequest) {
|
|
1447
1459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1513,7 +1525,7 @@ class KmsManagementClient {
|
|
|
1513
1525
|
* @param DisableKeyRequest
|
|
1514
1526
|
* @return DisableKeyResponse
|
|
1515
1527
|
* @throws OciError when an error occurs
|
|
1516
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/DisableKey.ts.html |here} to see how to use DisableKey API.
|
|
1517
1529
|
*/
|
|
1518
1530
|
disableKey(disableKeyRequest) {
|
|
1519
1531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1585,7 +1597,7 @@ class KmsManagementClient {
|
|
|
1585
1597
|
* @param EnableKeyRequest
|
|
1586
1598
|
* @return EnableKeyResponse
|
|
1587
1599
|
* @throws OciError when an error occurs
|
|
1588
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/EnableKey.ts.html |here} to see how to use EnableKey API.
|
|
1589
1601
|
*/
|
|
1590
1602
|
enableKey(enableKeyRequest) {
|
|
1591
1603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1656,7 +1668,7 @@ class KmsManagementClient {
|
|
|
1656
1668
|
* @param GetKeyRequest
|
|
1657
1669
|
* @return GetKeyResponse
|
|
1658
1670
|
* @throws OciError when an error occurs
|
|
1659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetKey.ts.html |here} to see how to use GetKey API.
|
|
1660
1672
|
*/
|
|
1661
1673
|
getKey(getKeyRequest) {
|
|
1662
1674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1725,7 +1737,7 @@ class KmsManagementClient {
|
|
|
1725
1737
|
* @param GetKeyVersionRequest
|
|
1726
1738
|
* @return GetKeyVersionResponse
|
|
1727
1739
|
* @throws OciError when an error occurs
|
|
1728
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetKeyVersion.ts.html |here} to see how to use GetKeyVersion API.
|
|
1729
1741
|
*/
|
|
1730
1742
|
getKeyVersion(getKeyVersionRequest) {
|
|
1731
1743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1793,7 +1805,7 @@ class KmsManagementClient {
|
|
|
1793
1805
|
* @param GetReplicationStatusRequest
|
|
1794
1806
|
* @return GetReplicationStatusResponse
|
|
1795
1807
|
* @throws OciError when an error occurs
|
|
1796
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1808
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetReplicationStatus.ts.html |here} to see how to use GetReplicationStatus API.
|
|
1797
1809
|
*/
|
|
1798
1810
|
getReplicationStatus(getReplicationStatusRequest) {
|
|
1799
1811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1858,7 +1870,7 @@ class KmsManagementClient {
|
|
|
1858
1870
|
* @param GetWrappingKeyRequest
|
|
1859
1871
|
* @return GetWrappingKeyResponse
|
|
1860
1872
|
* @throws OciError when an error occurs
|
|
1861
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1873
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetWrappingKey.ts.html |here} to see how to use GetWrappingKey API.
|
|
1862
1874
|
*/
|
|
1863
1875
|
getWrappingKey(getWrappingKeyRequest) {
|
|
1864
1876
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1925,7 +1937,7 @@ class KmsManagementClient {
|
|
|
1925
1937
|
* @param ImportKeyRequest
|
|
1926
1938
|
* @return ImportKeyResponse
|
|
1927
1939
|
* @throws OciError when an error occurs
|
|
1928
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1940
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ImportKey.ts.html |here} to see how to use ImportKey API.
|
|
1929
1941
|
*/
|
|
1930
1942
|
importKey(importKeyRequest) {
|
|
1931
1943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1994,7 +2006,7 @@ class KmsManagementClient {
|
|
|
1994
2006
|
* @param ImportKeyVersionRequest
|
|
1995
2007
|
* @return ImportKeyVersionResponse
|
|
1996
2008
|
* @throws OciError when an error occurs
|
|
1997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2009
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ImportKeyVersion.ts.html |here} to see how to use ImportKeyVersion API.
|
|
1998
2010
|
*/
|
|
1999
2011
|
importKeyVersion(importKeyVersionRequest) {
|
|
2000
2012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2066,7 +2078,7 @@ class KmsManagementClient {
|
|
|
2066
2078
|
* @param ListKeyVersionsRequest
|
|
2067
2079
|
* @return ListKeyVersionsResponse
|
|
2068
2080
|
* @throws OciError when an error occurs
|
|
2069
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ListKeyVersions.ts.html |here} to see how to use ListKeyVersions API.
|
|
2070
2082
|
*/
|
|
2071
2083
|
listKeyVersions(listKeyVersionsRequest) {
|
|
2072
2084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2180,7 +2192,7 @@ class KmsManagementClient {
|
|
|
2180
2192
|
* @param ListKeysRequest
|
|
2181
2193
|
* @return ListKeysResponse
|
|
2182
2194
|
* @throws OciError when an error occurs
|
|
2183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ListKeys.ts.html |here} to see how to use ListKeys API.
|
|
2184
2196
|
*/
|
|
2185
2197
|
listKeys(listKeysRequest) {
|
|
2186
2198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2294,7 +2306,7 @@ class KmsManagementClient {
|
|
|
2294
2306
|
* @param RestoreKeyFromFileRequest
|
|
2295
2307
|
* @return RestoreKeyFromFileResponse
|
|
2296
2308
|
* @throws OciError when an error occurs
|
|
2297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2309
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/RestoreKeyFromFile.ts.html |here} to see how to use RestoreKeyFromFile API.
|
|
2298
2310
|
*/
|
|
2299
2311
|
restoreKeyFromFile(restoreKeyFromFileRequest) {
|
|
2300
2312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2373,7 +2385,7 @@ class KmsManagementClient {
|
|
|
2373
2385
|
* @param RestoreKeyFromObjectStoreRequest
|
|
2374
2386
|
* @return RestoreKeyFromObjectStoreResponse
|
|
2375
2387
|
* @throws OciError when an error occurs
|
|
2376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/RestoreKeyFromObjectStore.ts.html |here} to see how to use RestoreKeyFromObjectStore API.
|
|
2377
2389
|
*/
|
|
2378
2390
|
restoreKeyFromObjectStore(restoreKeyFromObjectStoreRequest) {
|
|
2379
2391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2449,7 +2461,7 @@ class KmsManagementClient {
|
|
|
2449
2461
|
* @param ScheduleKeyDeletionRequest
|
|
2450
2462
|
* @return ScheduleKeyDeletionResponse
|
|
2451
2463
|
* @throws OciError when an error occurs
|
|
2452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ScheduleKeyDeletion.ts.html |here} to see how to use ScheduleKeyDeletion API.
|
|
2453
2465
|
*/
|
|
2454
2466
|
scheduleKeyDeletion(scheduleKeyDeletionRequest) {
|
|
2455
2467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2522,7 +2534,7 @@ class KmsManagementClient {
|
|
|
2522
2534
|
* @param ScheduleKeyVersionDeletionRequest
|
|
2523
2535
|
* @return ScheduleKeyVersionDeletionResponse
|
|
2524
2536
|
* @throws OciError when an error occurs
|
|
2525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ScheduleKeyVersionDeletion.ts.html |here} to see how to use ScheduleKeyVersionDeletion API.
|
|
2526
2538
|
*/
|
|
2527
2539
|
scheduleKeyVersionDeletion(scheduleKeyVersionDeletionRequest) {
|
|
2528
2540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2597,7 +2609,7 @@ class KmsManagementClient {
|
|
|
2597
2609
|
* @param UpdateKeyRequest
|
|
2598
2610
|
* @return UpdateKeyResponse
|
|
2599
2611
|
* @throws OciError when an error occurs
|
|
2600
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/UpdateKey.ts.html |here} to see how to use UpdateKey API.
|
|
2601
2613
|
*/
|
|
2602
2614
|
updateKey(updateKeyRequest) {
|
|
2603
2615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2692,6 +2704,10 @@ class KmsVaultClient {
|
|
|
2692
2704
|
? clientConfiguration.bodyDuplexMode
|
|
2693
2705
|
: undefined;
|
|
2694
2706
|
}
|
|
2707
|
+
if (!oci_common_2.developerToolConfiguration.isServiceEnabled("keymanagement")) {
|
|
2708
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
2709
|
+
throw errmsg.concat("keymanagement");
|
|
2710
|
+
}
|
|
2695
2711
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2696
2712
|
const specCircuitBreakerEnabled = true;
|
|
2697
2713
|
if (!this._circuitBreaker &&
|
|
@@ -2797,7 +2813,7 @@ class KmsVaultClient {
|
|
|
2797
2813
|
* @param BackupVaultRequest
|
|
2798
2814
|
* @return BackupVaultResponse
|
|
2799
2815
|
* @throws OciError when an error occurs
|
|
2800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/BackupVault.ts.html |here} to see how to use BackupVault API.
|
|
2801
2817
|
*/
|
|
2802
2818
|
backupVault(backupVaultRequest) {
|
|
2803
2819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2877,7 +2893,7 @@ class KmsVaultClient {
|
|
|
2877
2893
|
* @param CancelVaultDeletionRequest
|
|
2878
2894
|
* @return CancelVaultDeletionResponse
|
|
2879
2895
|
* @throws OciError when an error occurs
|
|
2880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CancelVaultDeletion.ts.html |here} to see how to use CancelVaultDeletion API.
|
|
2881
2897
|
*/
|
|
2882
2898
|
cancelVaultDeletion(cancelVaultDeletionRequest) {
|
|
2883
2899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2951,7 +2967,7 @@ class KmsVaultClient {
|
|
|
2951
2967
|
* @param ChangeVaultCompartmentRequest
|
|
2952
2968
|
* @return ChangeVaultCompartmentResponse
|
|
2953
2969
|
* @throws OciError when an error occurs
|
|
2954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2970
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ChangeVaultCompartment.ts.html |here} to see how to use ChangeVaultCompartment API.
|
|
2955
2971
|
*/
|
|
2956
2972
|
changeVaultCompartment(changeVaultCompartmentRequest) {
|
|
2957
2973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3022,7 +3038,7 @@ class KmsVaultClient {
|
|
|
3022
3038
|
* @param CreateVaultRequest
|
|
3023
3039
|
* @return CreateVaultResponse
|
|
3024
3040
|
* @throws OciError when an error occurs
|
|
3025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3041
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CreateVault.ts.html |here} to see how to use CreateVault API.
|
|
3026
3042
|
*/
|
|
3027
3043
|
createVault(createVaultRequest) {
|
|
3028
3044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3095,7 +3111,7 @@ class KmsVaultClient {
|
|
|
3095
3111
|
* @param CreateVaultReplicaRequest
|
|
3096
3112
|
* @return CreateVaultReplicaResponse
|
|
3097
3113
|
* @throws OciError when an error occurs
|
|
3098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3114
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/CreateVaultReplica.ts.html |here} to see how to use CreateVaultReplica API.
|
|
3099
3115
|
*/
|
|
3100
3116
|
createVaultReplica(createVaultReplicaRequest) {
|
|
3101
3117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3163,7 +3179,7 @@ class KmsVaultClient {
|
|
|
3163
3179
|
* @param DeleteVaultReplicaRequest
|
|
3164
3180
|
* @return DeleteVaultReplicaResponse
|
|
3165
3181
|
* @throws OciError when an error occurs
|
|
3166
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/DeleteVaultReplica.ts.html |here} to see how to use DeleteVaultReplica API.
|
|
3167
3183
|
*/
|
|
3168
3184
|
deleteVaultReplica(deleteVaultReplicaRequest) {
|
|
3169
3185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3231,7 +3247,7 @@ class KmsVaultClient {
|
|
|
3231
3247
|
* @param GetVaultRequest
|
|
3232
3248
|
* @return GetVaultResponse
|
|
3233
3249
|
* @throws OciError when an error occurs
|
|
3234
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetVault.ts.html |here} to see how to use GetVault API.
|
|
3235
3251
|
*/
|
|
3236
3252
|
getVault(getVaultRequest) {
|
|
3237
3253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3295,7 +3311,7 @@ class KmsVaultClient {
|
|
|
3295
3311
|
* @param GetVaultUsageRequest
|
|
3296
3312
|
* @return GetVaultUsageResponse
|
|
3297
3313
|
* @throws OciError when an error occurs
|
|
3298
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3314
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/GetVaultUsage.ts.html |here} to see how to use GetVaultUsage API.
|
|
3299
3315
|
*/
|
|
3300
3316
|
getVaultUsage(getVaultUsageRequest) {
|
|
3301
3317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3359,7 +3375,7 @@ class KmsVaultClient {
|
|
|
3359
3375
|
* @param ListVaultReplicasRequest
|
|
3360
3376
|
* @return ListVaultReplicasResponse
|
|
3361
3377
|
* @throws OciError when an error occurs
|
|
3362
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ListVaultReplicas.ts.html |here} to see how to use ListVaultReplicas API.
|
|
3363
3379
|
*/
|
|
3364
3380
|
listVaultReplicas(listVaultReplicasRequest) {
|
|
3365
3381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3480,7 +3496,7 @@ class KmsVaultClient {
|
|
|
3480
3496
|
* @param ListVaultsRequest
|
|
3481
3497
|
* @return ListVaultsResponse
|
|
3482
3498
|
* @throws OciError when an error occurs
|
|
3483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ListVaults.ts.html |here} to see how to use ListVaults API.
|
|
3484
3500
|
*/
|
|
3485
3501
|
listVaults(listVaultsRequest) {
|
|
3486
3502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3590,7 +3606,7 @@ class KmsVaultClient {
|
|
|
3590
3606
|
* @param RestoreVaultFromFileRequest
|
|
3591
3607
|
* @return RestoreVaultFromFileResponse
|
|
3592
3608
|
* @throws OciError when an error occurs
|
|
3593
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3609
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/RestoreVaultFromFile.ts.html |here} to see how to use RestoreVaultFromFile API.
|
|
3594
3610
|
*/
|
|
3595
3611
|
restoreVaultFromFile(restoreVaultFromFileRequest) {
|
|
3596
3612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3671,7 +3687,7 @@ class KmsVaultClient {
|
|
|
3671
3687
|
* @param RestoreVaultFromObjectStoreRequest
|
|
3672
3688
|
* @return RestoreVaultFromObjectStoreResponse
|
|
3673
3689
|
* @throws OciError when an error occurs
|
|
3674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/RestoreVaultFromObjectStore.ts.html |here} to see how to use RestoreVaultFromObjectStore API.
|
|
3675
3691
|
*/
|
|
3676
3692
|
restoreVaultFromObjectStore(restoreVaultFromObjectStoreRequest) {
|
|
3677
3693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3752,7 +3768,7 @@ class KmsVaultClient {
|
|
|
3752
3768
|
* @param ScheduleVaultDeletionRequest
|
|
3753
3769
|
* @return ScheduleVaultDeletionResponse
|
|
3754
3770
|
* @throws OciError when an error occurs
|
|
3755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/ScheduleVaultDeletion.ts.html |here} to see how to use ScheduleVaultDeletion API.
|
|
3756
3772
|
*/
|
|
3757
3773
|
scheduleVaultDeletion(scheduleVaultDeletionRequest) {
|
|
3758
3774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3826,7 +3842,7 @@ class KmsVaultClient {
|
|
|
3826
3842
|
* @param UpdateVaultRequest
|
|
3827
3843
|
* @return UpdateVaultResponse
|
|
3828
3844
|
* @throws OciError when an error occurs
|
|
3829
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.76.0/keymanagement/UpdateVault.ts.html |here} to see how to use UpdateVault API.
|
|
3830
3846
|
*/
|
|
3831
3847
|
updateVault(updateVaultRequest) {
|
|
3832
3848
|
return __awaiter(this, void 0, void 0, function* () {
|