oci-vault 2.26.0 → 2.27.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 +11 -11
- package/lib/client.js +11 -11
- package/lib/model/secret-content-details.js +2 -2
- package/lib/model/secret-content-details.js.map +1 -1
- package/lib/model/secret-rule.js +2 -2
- package/lib/model/secret-rule.js.map +1 -1
- package/lib/request/cancel-secret-deletion-request.d.ts +1 -1
- package/lib/request/cancel-secret-version-deletion-request.d.ts +1 -1
- package/lib/request/change-secret-compartment-request.d.ts +1 -1
- package/lib/request/create-secret-request.d.ts +1 -1
- package/lib/request/get-secret-request.d.ts +1 -1
- package/lib/request/get-secret-version-request.d.ts +1 -1
- package/lib/request/list-secret-versions-request.d.ts +1 -1
- package/lib/request/list-secrets-request.d.ts +1 -1
- package/lib/request/schedule-secret-deletion-request.d.ts +1 -1
- package/lib/request/schedule-secret-version-deletion-request.d.ts +1 -1
- package/lib/request/update-secret-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare class VaultsClient {
|
|
|
78
78
|
* @param CancelSecretDeletionRequest
|
|
79
79
|
* @return CancelSecretDeletionResponse
|
|
80
80
|
* @throws OciError when an error occurs
|
|
81
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
81
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretDeletion.ts.html |here} to see how to use CancelSecretDeletion API.
|
|
82
82
|
*/
|
|
83
83
|
cancelSecretDeletion(cancelSecretDeletionRequest: requests.CancelSecretDeletionRequest): Promise<responses.CancelSecretDeletionResponse>;
|
|
84
84
|
/**
|
|
@@ -87,7 +87,7 @@ export declare class VaultsClient {
|
|
|
87
87
|
* @param CancelSecretVersionDeletionRequest
|
|
88
88
|
* @return CancelSecretVersionDeletionResponse
|
|
89
89
|
* @throws OciError when an error occurs
|
|
90
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
90
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretVersionDeletion.ts.html |here} to see how to use CancelSecretVersionDeletion API.
|
|
91
91
|
*/
|
|
92
92
|
cancelSecretVersionDeletion(cancelSecretVersionDeletionRequest: requests.CancelSecretVersionDeletionRequest): Promise<responses.CancelSecretVersionDeletionResponse>;
|
|
93
93
|
/**
|
|
@@ -100,7 +100,7 @@ export declare class VaultsClient {
|
|
|
100
100
|
* @param ChangeSecretCompartmentRequest
|
|
101
101
|
* @return ChangeSecretCompartmentResponse
|
|
102
102
|
* @throws OciError when an error occurs
|
|
103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ChangeSecretCompartment.ts.html |here} to see how to use ChangeSecretCompartment API.
|
|
104
104
|
*/
|
|
105
105
|
changeSecretCompartment(changeSecretCompartmentRequest: requests.ChangeSecretCompartmentRequest): Promise<responses.ChangeSecretCompartmentResponse>;
|
|
106
106
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class VaultsClient {
|
|
|
112
112
|
* @param CreateSecretRequest
|
|
113
113
|
* @return CreateSecretResponse
|
|
114
114
|
* @throws OciError when an error occurs
|
|
115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CreateSecret.ts.html |here} to see how to use CreateSecret API.
|
|
116
116
|
*/
|
|
117
117
|
createSecret(createSecretRequest: requests.CreateSecretRequest): Promise<responses.CreateSecretResponse>;
|
|
118
118
|
/**
|
|
@@ -121,7 +121,7 @@ export declare class VaultsClient {
|
|
|
121
121
|
* @param GetSecretRequest
|
|
122
122
|
* @return GetSecretResponse
|
|
123
123
|
* @throws OciError when an error occurs
|
|
124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecret.ts.html |here} to see how to use GetSecret API.
|
|
125
125
|
*/
|
|
126
126
|
getSecret(getSecretRequest: requests.GetSecretRequest): Promise<responses.GetSecretResponse>;
|
|
127
127
|
/**
|
|
@@ -131,7 +131,7 @@ export declare class VaultsClient {
|
|
|
131
131
|
* @param GetSecretVersionRequest
|
|
132
132
|
* @return GetSecretVersionResponse
|
|
133
133
|
* @throws OciError when an error occurs
|
|
134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
134
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecretVersion.ts.html |here} to see how to use GetSecretVersion API.
|
|
135
135
|
*/
|
|
136
136
|
getSecretVersion(getSecretVersionRequest: requests.GetSecretVersionRequest): Promise<responses.GetSecretVersionResponse>;
|
|
137
137
|
/**
|
|
@@ -140,7 +140,7 @@ export declare class VaultsClient {
|
|
|
140
140
|
* @param ListSecretVersionsRequest
|
|
141
141
|
* @return ListSecretVersionsResponse
|
|
142
142
|
* @throws OciError when an error occurs
|
|
143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
143
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecretVersions.ts.html |here} to see how to use ListSecretVersions API.
|
|
144
144
|
*/
|
|
145
145
|
listSecretVersions(listSecretVersionsRequest: requests.ListSecretVersionsRequest): Promise<responses.ListSecretVersionsResponse>;
|
|
146
146
|
/**
|
|
@@ -181,7 +181,7 @@ export declare class VaultsClient {
|
|
|
181
181
|
* @param ListSecretsRequest
|
|
182
182
|
* @return ListSecretsResponse
|
|
183
183
|
* @throws OciError when an error occurs
|
|
184
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecrets.ts.html |here} to see how to use ListSecrets API.
|
|
185
185
|
*/
|
|
186
186
|
listSecrets(listSecretsRequest: requests.ListSecretsRequest): Promise<responses.ListSecretsResponse>;
|
|
187
187
|
/**
|
|
@@ -224,7 +224,7 @@ export declare class VaultsClient {
|
|
|
224
224
|
* @param ScheduleSecretDeletionRequest
|
|
225
225
|
* @return ScheduleSecretDeletionResponse
|
|
226
226
|
* @throws OciError when an error occurs
|
|
227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretDeletion.ts.html |here} to see how to use ScheduleSecretDeletion API.
|
|
228
228
|
*/
|
|
229
229
|
scheduleSecretDeletion(scheduleSecretDeletionRequest: requests.ScheduleSecretDeletionRequest): Promise<responses.ScheduleSecretDeletionResponse>;
|
|
230
230
|
/**
|
|
@@ -235,7 +235,7 @@ export declare class VaultsClient {
|
|
|
235
235
|
* @param ScheduleSecretVersionDeletionRequest
|
|
236
236
|
* @return ScheduleSecretVersionDeletionResponse
|
|
237
237
|
* @throws OciError when an error occurs
|
|
238
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretVersionDeletion.ts.html |here} to see how to use ScheduleSecretVersionDeletion API.
|
|
239
239
|
*/
|
|
240
240
|
scheduleSecretVersionDeletion(scheduleSecretVersionDeletionRequest: requests.ScheduleSecretVersionDeletionRequest): Promise<responses.ScheduleSecretVersionDeletionResponse>;
|
|
241
241
|
/**
|
|
@@ -250,7 +250,7 @@ export declare class VaultsClient {
|
|
|
250
250
|
* @param UpdateSecretRequest
|
|
251
251
|
* @return UpdateSecretResponse
|
|
252
252
|
* @throws OciError when an error occurs
|
|
253
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/UpdateSecret.ts.html |here} to see how to use UpdateSecret API.
|
|
254
254
|
*/
|
|
255
255
|
updateSecret(updateSecretRequest: requests.UpdateSecretRequest): Promise<responses.UpdateSecretResponse>;
|
|
256
256
|
}
|
package/lib/client.js
CHANGED
|
@@ -159,7 +159,7 @@ class VaultsClient {
|
|
|
159
159
|
* @param CancelSecretDeletionRequest
|
|
160
160
|
* @return CancelSecretDeletionResponse
|
|
161
161
|
* @throws OciError when an error occurs
|
|
162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretDeletion.ts.html |here} to see how to use CancelSecretDeletion API.
|
|
163
163
|
*/
|
|
164
164
|
cancelSecretDeletion(cancelSecretDeletionRequest) {
|
|
165
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +217,7 @@ class VaultsClient {
|
|
|
217
217
|
* @param CancelSecretVersionDeletionRequest
|
|
218
218
|
* @return CancelSecretVersionDeletionResponse
|
|
219
219
|
* @throws OciError when an error occurs
|
|
220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretVersionDeletion.ts.html |here} to see how to use CancelSecretVersionDeletion API.
|
|
221
221
|
*/
|
|
222
222
|
cancelSecretVersionDeletion(cancelSecretVersionDeletionRequest) {
|
|
223
223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +280,7 @@ class VaultsClient {
|
|
|
280
280
|
* @param ChangeSecretCompartmentRequest
|
|
281
281
|
* @return ChangeSecretCompartmentResponse
|
|
282
282
|
* @throws OciError when an error occurs
|
|
283
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ChangeSecretCompartment.ts.html |here} to see how to use ChangeSecretCompartment API.
|
|
284
284
|
*/
|
|
285
285
|
changeSecretCompartment(changeSecretCompartmentRequest) {
|
|
286
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -343,7 +343,7 @@ class VaultsClient {
|
|
|
343
343
|
* @param CreateSecretRequest
|
|
344
344
|
* @return CreateSecretResponse
|
|
345
345
|
* @throws OciError when an error occurs
|
|
346
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CreateSecret.ts.html |here} to see how to use CreateSecret API.
|
|
347
347
|
*/
|
|
348
348
|
createSecret(createSecretRequest) {
|
|
349
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -404,7 +404,7 @@ class VaultsClient {
|
|
|
404
404
|
* @param GetSecretRequest
|
|
405
405
|
* @return GetSecretResponse
|
|
406
406
|
* @throws OciError when an error occurs
|
|
407
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecret.ts.html |here} to see how to use GetSecret API.
|
|
408
408
|
*/
|
|
409
409
|
getSecret(getSecretRequest) {
|
|
410
410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -466,7 +466,7 @@ class VaultsClient {
|
|
|
466
466
|
* @param GetSecretVersionRequest
|
|
467
467
|
* @return GetSecretVersionResponse
|
|
468
468
|
* @throws OciError when an error occurs
|
|
469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecretVersion.ts.html |here} to see how to use GetSecretVersion API.
|
|
470
470
|
*/
|
|
471
471
|
getSecretVersion(getSecretVersionRequest) {
|
|
472
472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -528,7 +528,7 @@ class VaultsClient {
|
|
|
528
528
|
* @param ListSecretVersionsRequest
|
|
529
529
|
* @return ListSecretVersionsResponse
|
|
530
530
|
* @throws OciError when an error occurs
|
|
531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
531
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecretVersions.ts.html |here} to see how to use ListSecretVersions API.
|
|
532
532
|
*/
|
|
533
533
|
listSecretVersions(listSecretVersionsRequest) {
|
|
534
534
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -634,7 +634,7 @@ class VaultsClient {
|
|
|
634
634
|
* @param ListSecretsRequest
|
|
635
635
|
* @return ListSecretsResponse
|
|
636
636
|
* @throws OciError when an error occurs
|
|
637
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecrets.ts.html |here} to see how to use ListSecrets API.
|
|
638
638
|
*/
|
|
639
639
|
listSecrets(listSecretsRequest) {
|
|
640
640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -744,7 +744,7 @@ class VaultsClient {
|
|
|
744
744
|
* @param ScheduleSecretDeletionRequest
|
|
745
745
|
* @return ScheduleSecretDeletionResponse
|
|
746
746
|
* @throws OciError when an error occurs
|
|
747
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretDeletion.ts.html |here} to see how to use ScheduleSecretDeletion API.
|
|
748
748
|
*/
|
|
749
749
|
scheduleSecretDeletion(scheduleSecretDeletionRequest) {
|
|
750
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -805,7 +805,7 @@ class VaultsClient {
|
|
|
805
805
|
* @param ScheduleSecretVersionDeletionRequest
|
|
806
806
|
* @return ScheduleSecretVersionDeletionResponse
|
|
807
807
|
* @throws OciError when an error occurs
|
|
808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
808
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretVersionDeletion.ts.html |here} to see how to use ScheduleSecretVersionDeletion API.
|
|
809
809
|
*/
|
|
810
810
|
scheduleSecretVersionDeletion(scheduleSecretVersionDeletionRequest) {
|
|
811
811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -871,7 +871,7 @@ class VaultsClient {
|
|
|
871
871
|
* @param UpdateSecretRequest
|
|
872
872
|
* @return UpdateSecretResponse
|
|
873
873
|
* @throws OciError when an error occurs
|
|
874
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/UpdateSecret.ts.html |here} to see how to use UpdateSecret API.
|
|
875
875
|
*/
|
|
876
876
|
updateSecret(updateSecretRequest) {
|
|
877
877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -42,7 +42,7 @@ var SecretContentDetails;
|
|
|
42
42
|
})(Stage = SecretContentDetails.Stage || (SecretContentDetails.Stage = {}));
|
|
43
43
|
function getJsonObj(obj) {
|
|
44
44
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
-
if ("contentType" in obj && obj.contentType) {
|
|
45
|
+
if (obj && "contentType" in obj && obj.contentType) {
|
|
46
46
|
switch (obj.contentType) {
|
|
47
47
|
case "BASE64":
|
|
48
48
|
return model.Base64SecretContentDetails.getJsonObj(jsonObj, true);
|
|
@@ -55,7 +55,7 @@ var SecretContentDetails;
|
|
|
55
55
|
SecretContentDetails.getJsonObj = getJsonObj;
|
|
56
56
|
function getDeserializedJsonObj(obj) {
|
|
57
57
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
58
|
-
if ("contentType" in obj && obj.contentType) {
|
|
58
|
+
if (obj && "contentType" in obj && obj.contentType) {
|
|
59
59
|
switch (obj.contentType) {
|
|
60
60
|
case "BASE64":
|
|
61
61
|
return model.Base64SecretContentDetails.getDeserializedJsonObj(jsonObj, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret-content-details.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-content-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,oBAAoB,CAsCpC;AAtCD,WAAiB,oBAAoB;IACnC,IAAY,KAGX;IAHD,WAAY,KAAK;QACf,4BAAmB,CAAA;QACnB,4BAAmB,CAAA;IACrB,CAAC,EAHW,KAAK,GAAL,0BAAK,KAAL,0BAAK,QAGhB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"secret-content-details.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-content-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,oBAAoB,CAsCpC;AAtCD,WAAiB,oBAAoB;IACnC,IAAY,KAGX;IAHD,WAAY,KAAK;QACf,4BAAmB,CAAA;QACnB,4BAAmB,CAAA;IACrB,CAAC,EAHW,KAAK,GAAL,0BAAK,KAAL,0BAAK,QAGhB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2CAAsB,yBAerC,CAAA;AACH,CAAC,EAtCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAsCpC"}
|
package/lib/model/secret-rule.js
CHANGED
|
@@ -37,7 +37,7 @@ var SecretRule;
|
|
|
37
37
|
(function (SecretRule) {
|
|
38
38
|
function getJsonObj(obj) {
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
-
if ("ruleType" in obj && obj.ruleType) {
|
|
40
|
+
if (obj && "ruleType" in obj && obj.ruleType) {
|
|
41
41
|
switch (obj.ruleType) {
|
|
42
42
|
case "SECRET_EXPIRY_RULE":
|
|
43
43
|
return model.SecretExpiryRule.getJsonObj(jsonObj, true);
|
|
@@ -52,7 +52,7 @@ var SecretRule;
|
|
|
52
52
|
SecretRule.getJsonObj = getJsonObj;
|
|
53
53
|
function getDeserializedJsonObj(obj) {
|
|
54
54
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
55
|
-
if ("ruleType" in obj && obj.ruleType) {
|
|
55
|
+
if (obj && "ruleType" in obj && obj.ruleType) {
|
|
56
56
|
switch (obj.ruleType) {
|
|
57
57
|
case "SECRET_EXPIRY_RULE":
|
|
58
58
|
return model.SecretExpiryRule.getDeserializedJsonObj(jsonObj, true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret-rule.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,UAAU,CAqC1B;AArCD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,UAAU,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"secret-rule.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,UAAU,CAqC1B;AArCD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,UAAU,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,EAAE;YAC5C,QAAQ,GAAG,CAAC,QAAQ,EAAE;gBACpB,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAkC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC5F,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAiC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC;aACrD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,qBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,UAAU,IAAI,GAAG,IAAI,GAAG,CAAC,QAAQ,EAAE;YAC5C,QAAQ,GAAG,CAAC,QAAQ,EAAE;gBACpB,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CACjB,OAAQ,EACzC,IAAI,CACL,CAAC;gBACJ,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CACjB,OAAQ,EACxC,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC;aACrD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,iCAAsB,yBAoBrC,CAAA;AACH,CAAC,EArCgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAqC1B"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretDeletion.ts.html |here} to see how to use CancelSecretDeletionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelSecretDeletionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CancelSecretVersionDeletion.ts.html |here} to see how to use CancelSecretVersionDeletionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelSecretVersionDeletionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ChangeSecretCompartment.ts.html |here} to see how to use ChangeSecretCompartmentRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChangeSecretCompartmentRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/CreateSecret.ts.html |here} to see how to use CreateSecretRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateSecretRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecret.ts.html |here} to see how to use GetSecretRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/GetSecretVersion.ts.html |here} to see how to use GetSecretVersionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretVersionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecretVersions.ts.html |here} to see how to use ListSecretVersionsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretVersionsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ListSecrets.ts.html |here} to see how to use ListSecretsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretDeletion.ts.html |here} to see how to use ScheduleSecretDeletionRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ScheduleSecretDeletionRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/ScheduleSecretVersionDeletion.ts.html |here} to see how to use ScheduleSecretVersionDeletionRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ScheduleSecretVersionDeletionRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.27.0/vault/UpdateSecret.ts.html |here} to see how to use UpdateSecretRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateSecretRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-vault",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "OCI NodeJS client for Vault Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.27.0",
|
|
19
|
+
"oci-workrequests": "2.27.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|