oci-secrets 2.5.1 → 2.7.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +9 -3
- package/lib/client.js +22 -6
- package/lib/client.js.map +1 -1
- package/lib/request/get-secret-bundle-by-name-request.d.ts +1 -1
- package/lib/request/get-secret-bundle-request.d.ts +1 -1
- package/lib/request/list-secret-bundle-versions-request.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE.txt
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
|
|
4
|
+
|
|
5
|
+
____________________________
|
|
6
|
+
|
|
1
7
|
The Universal Permissive License (UPL), Version 1.0
|
|
2
8
|
|
|
3
9
|
Subject to the condition set forth below, permission is hereby granted to any
|
package/lib/client.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ import * as model from "./model";
|
|
|
16
16
|
import * as responses from "./response";
|
|
17
17
|
export declare enum SecretsApiKeys {
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
21
|
+
*/
|
|
19
22
|
export declare class SecretsClient {
|
|
20
23
|
protected static serviceEndpointTemplate: string;
|
|
21
24
|
protected "_endpoint": string;
|
|
@@ -53,28 +56,31 @@ export declare class SecretsClient {
|
|
|
53
56
|
* Gets a secret bundle that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
54
57
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` will be returned.
|
|
55
58
|
*
|
|
59
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
56
60
|
* @param GetSecretBundleRequest
|
|
57
61
|
* @return GetSecretBundleResponse
|
|
58
62
|
* @throws OciError when an error occurs
|
|
59
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
63
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
60
64
|
*/
|
|
61
65
|
getSecretBundle(getSecretBundleRequest: requests.GetSecretBundleRequest): Promise<responses.GetSecretBundleResponse>;
|
|
62
66
|
/**
|
|
63
67
|
* Gets a secret bundle by secret name and vault ID, and secret version that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
64
68
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` is returned.
|
|
65
69
|
*
|
|
70
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
66
71
|
* @param GetSecretBundleByNameRequest
|
|
67
72
|
* @return GetSecretBundleByNameResponse
|
|
68
73
|
* @throws OciError when an error occurs
|
|
69
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
74
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
70
75
|
*/
|
|
71
76
|
getSecretBundleByName(getSecretBundleByNameRequest: requests.GetSecretBundleByNameRequest): Promise<responses.GetSecretBundleByNameResponse>;
|
|
72
77
|
/**
|
|
73
78
|
* Lists all secret bundle versions for the specified secret.
|
|
79
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
74
80
|
* @param ListSecretBundleVersionsRequest
|
|
75
81
|
* @return ListSecretBundleVersionsResponse
|
|
76
82
|
* @throws OciError when an error occurs
|
|
77
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
83
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
78
84
|
*/
|
|
79
85
|
listSecretBundleVersions(listSecretBundleVersionsRequest: requests.ListSecretBundleVersionsRequest): Promise<responses.ListSecretBundleVersionsResponse>;
|
|
80
86
|
/**
|
package/lib/client.js
CHANGED
|
@@ -51,6 +51,9 @@ const oci_common_2 = require("oci-common");
|
|
|
51
51
|
var SecretsApiKeys;
|
|
52
52
|
(function (SecretsApiKeys) {
|
|
53
53
|
})(SecretsApiKeys = exports.SecretsApiKeys || (exports.SecretsApiKeys = {}));
|
|
54
|
+
/**
|
|
55
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
56
|
+
*/
|
|
54
57
|
class SecretsClient {
|
|
55
58
|
constructor(params, clientConfiguration) {
|
|
56
59
|
this["_endpoint"] = "";
|
|
@@ -65,6 +68,13 @@ class SecretsClient {
|
|
|
65
68
|
? clientConfiguration.circuitBreaker.circuit
|
|
66
69
|
: null;
|
|
67
70
|
}
|
|
71
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
|
+
const specCircuitBreakerEnabled = false;
|
|
73
|
+
if (!this._circuitBreaker &&
|
|
74
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
75
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
76
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
77
|
+
}
|
|
68
78
|
this._httpClient =
|
|
69
79
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
70
80
|
if (params.authenticationDetailsProvider &&
|
|
@@ -117,10 +127,11 @@ class SecretsClient {
|
|
|
117
127
|
* Gets a secret bundle that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
118
128
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` will be returned.
|
|
119
129
|
*
|
|
130
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
120
131
|
* @param GetSecretBundleRequest
|
|
121
132
|
* @return GetSecretBundleResponse
|
|
122
133
|
* @throws OciError when an error occurs
|
|
123
|
-
* @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.7.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
124
135
|
*/
|
|
125
136
|
getSecretBundle(getSecretBundleRequest) {
|
|
126
137
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -138,7 +149,8 @@ class SecretsClient {
|
|
|
138
149
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
139
150
|
"opc-request-id": getSecretBundleRequest.opcRequestId
|
|
140
151
|
};
|
|
141
|
-
const
|
|
152
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
153
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecretBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
142
154
|
if (this.logger)
|
|
143
155
|
retrier.logger = this.logger;
|
|
144
156
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -182,10 +194,11 @@ class SecretsClient {
|
|
|
182
194
|
* Gets a secret bundle by secret name and vault ID, and secret version that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
183
195
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` is returned.
|
|
184
196
|
*
|
|
197
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
185
198
|
* @param GetSecretBundleByNameRequest
|
|
186
199
|
* @return GetSecretBundleByNameResponse
|
|
187
200
|
* @throws OciError when an error occurs
|
|
188
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
201
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
189
202
|
*/
|
|
190
203
|
getSecretBundleByName(getSecretBundleByNameRequest) {
|
|
191
204
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -203,7 +216,8 @@ class SecretsClient {
|
|
|
203
216
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
204
217
|
"opc-request-id": getSecretBundleByNameRequest.opcRequestId
|
|
205
218
|
};
|
|
206
|
-
const
|
|
219
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
220
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecretBundleByNameRequest.retryConfiguration, specRetryConfiguration);
|
|
207
221
|
if (this.logger)
|
|
208
222
|
retrier.logger = this.logger;
|
|
209
223
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -240,10 +254,11 @@ class SecretsClient {
|
|
|
240
254
|
}
|
|
241
255
|
/**
|
|
242
256
|
* Lists all secret bundle versions for the specified secret.
|
|
257
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
243
258
|
* @param ListSecretBundleVersionsRequest
|
|
244
259
|
* @return ListSecretBundleVersionsResponse
|
|
245
260
|
* @throws OciError when an error occurs
|
|
246
|
-
* @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.7.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
247
262
|
*/
|
|
248
263
|
listSecretBundleVersions(listSecretBundleVersionsRequest) {
|
|
249
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +277,8 @@ class SecretsClient {
|
|
|
262
277
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
263
278
|
"opc-request-id": listSecretBundleVersionsRequest.opcRequestId
|
|
264
279
|
};
|
|
265
|
-
const
|
|
280
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
281
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSecretBundleVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
266
282
|
if (this.logger)
|
|
267
283
|
retrier.logger = this.logger;
|
|
268
284
|
const request = yield oci_common_2.composeRequest({
|
package/lib/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/secrets/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,cAAiB;AAA7B,WAAY,cAAc;AAAE,CAAC,EAAjB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAAG;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/secrets/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,cAAiB;AAA7B,WAAY,cAAc;AAAE,CAAC,EAAjB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAAG;AAC7B;;GAEG;AACH,MAAa,aAAa;IAUxB,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa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CAChC,OAAiD;QAEjD,OAAO,4BAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;OAMG;IACI,oCAAoC,CACzC,OAAiD;QAEjD,OAAO,8BAAiB,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;OAMG;IACI,sCAAsC,CAC3C,OAAiD;QAEjD,OAAO,4BAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;OAKG;IACI,wCAAwC,CAC7C,OAAiD;QAEjD,OAAO,8BAAiB,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/E,CAAC;;AAlWH,sCAmWC;AAlWkB,qCAAuB,GACtC,yDAAyD,CAAC"}
|
|
@@ -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.7.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByNameRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretBundleByNameRequest 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.7.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundleRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretBundleRequest 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.7.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersionsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretBundleVersionsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-secrets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "OCI NodeJS client for Secrets 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.7.0",
|
|
19
|
+
"oci-workrequests": "2.7.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|