oci-secrets 2.21.0 → 2.25.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/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client.d.ts +9 -8
- package/lib/client.js +17 -12
- package/lib/client.js.map +1 -1
- package/lib/model/base64-secret-bundle-content-details.d.ts +2 -2
- package/lib/model/base64-secret-bundle-content-details.js +2 -2
- package/lib/model/index.d.ts +2 -2
- package/lib/model/index.js +2 -2
- package/lib/model/secret-bundle-content-details.d.ts +2 -2
- package/lib/model/secret-bundle-content-details.js +2 -2
- package/lib/model/secret-bundle-version-summary.d.ts +2 -2
- package/lib/model/secret-bundle-version-summary.js +2 -2
- package/lib/model/secret-bundle.d.ts +2 -2
- package/lib/model/secret-bundle.js +2 -2
- 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/index.d.ts +2 -2
- package/lib/request/index.js +2 -2
- package/lib/request/list-secret-bundle-versions-request.d.ts +2 -2
- package/lib/response/index.d.ts +2 -2
- package/lib/response/index.js +2 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -26,6 +26,7 @@ export declare class SecretsClient {
|
|
|
26
26
|
protected "_defaultHeaders": any;
|
|
27
27
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
28
28
|
protected _circuitBreaker: null;
|
|
29
|
+
protected _httpOptions: any;
|
|
29
30
|
protected _httpClient: common.HttpClient;
|
|
30
31
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
31
32
|
/**
|
|
@@ -57,31 +58,31 @@ export declare class SecretsClient {
|
|
|
57
58
|
* Gets a secret bundle that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
58
59
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` will be returned.
|
|
59
60
|
*
|
|
60
|
-
* This operation
|
|
61
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
61
62
|
* @param GetSecretBundleRequest
|
|
62
63
|
* @return GetSecretBundleResponse
|
|
63
64
|
* @throws OciError when an error occurs
|
|
64
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
65
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
65
66
|
*/
|
|
66
67
|
getSecretBundle(getSecretBundleRequest: requests.GetSecretBundleRequest): Promise<responses.GetSecretBundleResponse>;
|
|
67
68
|
/**
|
|
68
69
|
* Gets a secret bundle by secret name and vault ID, and secret version that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
69
70
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` is returned.
|
|
70
71
|
*
|
|
71
|
-
* This operation
|
|
72
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
72
73
|
* @param GetSecretBundleByNameRequest
|
|
73
74
|
* @return GetSecretBundleByNameResponse
|
|
74
75
|
* @throws OciError when an error occurs
|
|
75
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
76
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
76
77
|
*/
|
|
77
78
|
getSecretBundleByName(getSecretBundleByNameRequest: requests.GetSecretBundleByNameRequest): Promise<responses.GetSecretBundleByNameResponse>;
|
|
78
79
|
/**
|
|
79
80
|
* Lists all secret bundle versions for the specified secret.
|
|
80
|
-
* This operation
|
|
81
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
81
82
|
* @param ListSecretBundleVersionsRequest
|
|
82
83
|
* @return ListSecretBundleVersionsResponse
|
|
83
84
|
* @throws OciError when an error occurs
|
|
84
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
85
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
85
86
|
*/
|
|
86
87
|
listSecretBundleVersions(listSecretBundleVersionsRequest: requests.ListSecretBundleVersionsRequest): Promise<responses.ListSecretBundleVersionsResponse>;
|
|
87
88
|
/**
|
package/lib/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -59,6 +59,7 @@ class SecretsClient {
|
|
|
59
59
|
this["_endpoint"] = "";
|
|
60
60
|
this["_defaultHeaders"] = {};
|
|
61
61
|
this._circuitBreaker = null;
|
|
62
|
+
this._httpOptions = undefined;
|
|
62
63
|
const requestSigner = params.authenticationDetailsProvider
|
|
63
64
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
64
65
|
: null;
|
|
@@ -67,6 +68,9 @@ class SecretsClient {
|
|
|
67
68
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
68
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
69
70
|
: null;
|
|
71
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
72
|
+
? clientConfiguration.httpOptions
|
|
73
|
+
: undefined;
|
|
70
74
|
}
|
|
71
75
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
76
|
const specCircuitBreakerEnabled = true;
|
|
@@ -76,7 +80,8 @@ class SecretsClient {
|
|
|
76
80
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
77
81
|
}
|
|
78
82
|
this._httpClient =
|
|
79
|
-
params.httpClient ||
|
|
83
|
+
params.httpClient ||
|
|
84
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
80
85
|
if (params.authenticationDetailsProvider &&
|
|
81
86
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
82
87
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -127,11 +132,11 @@ class SecretsClient {
|
|
|
127
132
|
* Gets a secret bundle that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
128
133
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` will be returned.
|
|
129
134
|
*
|
|
130
|
-
* This operation
|
|
135
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
131
136
|
* @param GetSecretBundleRequest
|
|
132
137
|
* @return GetSecretBundleResponse
|
|
133
138
|
* @throws OciError when an error occurs
|
|
134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundle API.
|
|
135
140
|
*/
|
|
136
141
|
getSecretBundle(getSecretBundleRequest) {
|
|
137
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -149,7 +154,7 @@ class SecretsClient {
|
|
|
149
154
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
150
155
|
"opc-request-id": getSecretBundleRequest.opcRequestId
|
|
151
156
|
};
|
|
152
|
-
const specRetryConfiguration = common.
|
|
157
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
153
158
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecretBundleRequest.retryConfiguration, specRetryConfiguration);
|
|
154
159
|
if (this.logger)
|
|
155
160
|
retrier.logger = this.logger;
|
|
@@ -194,11 +199,11 @@ class SecretsClient {
|
|
|
194
199
|
* Gets a secret bundle by secret name and vault ID, and secret version that matches either the specified `stage`, `secretVersionName`, or `versionNumber` parameter.
|
|
195
200
|
* If none of these parameters are provided, the bundle for the secret version marked as `CURRENT` is returned.
|
|
196
201
|
*
|
|
197
|
-
* This operation
|
|
202
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
198
203
|
* @param GetSecretBundleByNameRequest
|
|
199
204
|
* @return GetSecretBundleByNameResponse
|
|
200
205
|
* @throws OciError when an error occurs
|
|
201
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/GetSecretBundleByName.ts.html |here} to see how to use GetSecretBundleByName API.
|
|
202
207
|
*/
|
|
203
208
|
getSecretBundleByName(getSecretBundleByNameRequest) {
|
|
204
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +221,7 @@ class SecretsClient {
|
|
|
216
221
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
217
222
|
"opc-request-id": getSecretBundleByNameRequest.opcRequestId
|
|
218
223
|
};
|
|
219
|
-
const specRetryConfiguration = common.
|
|
224
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
220
225
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSecretBundleByNameRequest.retryConfiguration, specRetryConfiguration);
|
|
221
226
|
if (this.logger)
|
|
222
227
|
retrier.logger = this.logger;
|
|
@@ -254,11 +259,11 @@ class SecretsClient {
|
|
|
254
259
|
}
|
|
255
260
|
/**
|
|
256
261
|
* Lists all secret bundle versions for the specified secret.
|
|
257
|
-
* This operation
|
|
262
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
258
263
|
* @param ListSecretBundleVersionsRequest
|
|
259
264
|
* @return ListSecretBundleVersionsResponse
|
|
260
265
|
* @throws OciError when an error occurs
|
|
261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersions API.
|
|
262
267
|
*/
|
|
263
268
|
listSecretBundleVersions(listSecretBundleVersionsRequest) {
|
|
264
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -277,7 +282,7 @@ class SecretsClient {
|
|
|
277
282
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
278
283
|
"opc-request-id": listSecretBundleVersionsRequest.opcRequestId
|
|
279
284
|
};
|
|
280
|
-
const specRetryConfiguration = common.
|
|
285
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
281
286
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSecretBundleVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
282
287
|
if (this.logger)
|
|
283
288
|
retrier.logger = this.logger;
|
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;AAC7B;;GAEG;AACH,MAAa,aAAa;
|
|
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;A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AG,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
package/lib/model/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -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.25.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.25.0/secrets/GetSecretBundle.ts.html |here} to see how to use GetSecretBundleRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretBundleRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/lib/request/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
package/lib/request/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
|
@@ -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.25.0/secrets/ListSecretBundleVersions.ts.html |here} to see how to use ListSecretBundleVersionsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretBundleVersionsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -37,7 +37,7 @@ export interface ListSecretBundleVersionsRequest extends common.BaseRequest {
|
|
|
37
37
|
"page"?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The field to sort by. You can specify only one sort order. The default
|
|
40
|
-
* order for `VERSION_NUMBER` is
|
|
40
|
+
* order for `VERSION_NUMBER` is descending.
|
|
41
41
|
*
|
|
42
42
|
*/
|
|
43
43
|
"sortBy"?: ListSecretBundleVersionsRequest.SortBy;
|
package/lib/response/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vault
|
|
3
|
-
* API
|
|
2
|
+
* Vault Secret Retrieval API
|
|
3
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
4
|
* OpenAPI spec version: 20190301
|
|
5
5
|
*
|
|
6
6
|
*
|
package/lib/response/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Vault
|
|
4
|
-
* API
|
|
3
|
+
* Vault Secret Retrieval API
|
|
4
|
+
* Use the Secret Retrieval API to retrieve secrets and secret versions from vaults. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
5
|
* OpenAPI spec version: 20190301
|
|
6
6
|
*
|
|
7
7
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-secrets",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.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.25.0",
|
|
19
|
+
"oci-workrequests": "2.25.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|