oci-vault 2.78.0 → 2.79.1
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 +33 -12
- package/lib/client.js +138 -62
- package/lib/client.js.map +1 -1
- package/lib/model/adb-target-system-details.d.ts +30 -0
- package/lib/model/adb-target-system-details.js +54 -0
- package/lib/model/adb-target-system-details.js.map +1 -0
- package/lib/model/create-secret-details.d.ts +2 -1
- package/lib/model/create-secret-details.js +6 -0
- package/lib/model/create-secret-details.js.map +1 -1
- package/lib/model/function-target-system-details.d.ts +30 -0
- package/lib/model/function-target-system-details.js +54 -0
- package/lib/model/function-target-system-details.js.map +1 -0
- package/lib/model/index.d.ts +8 -0
- package/lib/model/index.js +9 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/rotation-config.d.ts +35 -0
- package/lib/model/rotation-config.js +57 -0
- package/lib/model/rotation-config.js.map +1 -0
- package/lib/model/secret-content-details.js +2 -4
- package/lib/model/secret-content-details.js.map +1 -1
- package/lib/model/secret-rule.js +2 -4
- package/lib/model/secret-rule.js.map +1 -1
- package/lib/model/secret-summary.d.ts +29 -0
- package/lib/model/secret-summary.js +30 -2
- package/lib/model/secret-summary.js.map +1 -1
- package/lib/model/secret-version-summary.d.ts +11 -0
- package/lib/model/secret-version-summary.js.map +1 -1
- package/lib/model/secret.d.ts +28 -0
- package/lib/model/secret.js +18 -0
- package/lib/model/secret.js.map +1 -1
- package/lib/model/target-system-details.d.ts +23 -0
- package/lib/model/target-system-details.js +70 -0
- package/lib/model/target-system-details.js.map +1 -0
- package/lib/model/update-secret-details.d.ts +1 -0
- package/lib/model/update-secret-details.js +6 -0
- package/lib/model/update-secret-details.js.map +1 -1
- package/lib/request/cancel-secret-deletion-request.d.ts +1 -1
- package/lib/request/cancel-secret-rotation-request.d.ts +38 -0
- package/lib/request/cancel-secret-rotation-request.js +15 -0
- package/lib/request/cancel-secret-rotation-request.js.map +1 -0
- 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/index.d.ts +4 -0
- package/lib/request/index.js.map +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/rotate-secret-request.d.ts +48 -0
- package/lib/request/rotate-secret-request.js +15 -0
- package/lib/request/rotate-secret-request.js.map +1 -0
- 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/lib/response/cancel-secret-deletion-response.d.ts +1 -2
- package/lib/response/cancel-secret-rotation-response.d.ts +19 -0
- package/lib/response/cancel-secret-rotation-response.js +15 -0
- package/lib/response/cancel-secret-rotation-response.js.map +1 -0
- package/lib/response/cancel-secret-version-deletion-response.d.ts +1 -2
- package/lib/response/change-secret-compartment-response.d.ts +1 -2
- package/lib/response/create-secret-response.d.ts +1 -2
- package/lib/response/get-secret-response.d.ts +1 -2
- package/lib/response/get-secret-version-response.d.ts +1 -2
- package/lib/response/index.d.ts +4 -0
- package/lib/response/list-secret-versions-response.d.ts +1 -2
- package/lib/response/list-secrets-response.d.ts +1 -2
- package/lib/response/rotate-secret-response.d.ts +24 -0
- package/lib/response/rotate-secret-response.js +15 -0
- package/lib/response/rotate-secret-response.js.map +1 -0
- package/lib/response/schedule-secret-deletion-response.d.ts +1 -2
- package/lib/response/schedule-secret-version-deletion-response.d.ts +1 -2
- package/lib/response/update-secret-response.d.ts +1 -2
- package/lib/vaults-waiter.d.ts +11 -1
- package/lib/vaults-waiter.js +16 -0
- package/lib/vaults-waiter.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.SecretSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var SecretSummary;
|
|
17
37
|
(function (SecretSummary) {
|
|
18
38
|
let LifecycleState;
|
|
@@ -33,12 +53,20 @@ var SecretSummary;
|
|
|
33
53
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
34
54
|
})(LifecycleState = SecretSummary.LifecycleState || (SecretSummary.LifecycleState = {}));
|
|
35
55
|
function getJsonObj(obj) {
|
|
36
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"rotationConfig": obj.rotationConfig
|
|
58
|
+
? model.RotationConfig.getJsonObj(obj.rotationConfig)
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
37
61
|
return jsonObj;
|
|
38
62
|
}
|
|
39
63
|
SecretSummary.getJsonObj = getJsonObj;
|
|
40
64
|
function getDeserializedJsonObj(obj) {
|
|
41
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
65
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
66
|
+
"rotationConfig": obj.rotationConfig
|
|
67
|
+
? model.RotationConfig.getDeserializedJsonObj(obj.rotationConfig)
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
42
70
|
return jsonObj;
|
|
43
71
|
}
|
|
44
72
|
SecretSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret-summary.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"secret-summary.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkGlC,IAAiB,aAAa,CA0C7B;AA1CD,WAAiB,aAAa;IAC5B,IAAY,cAeX;IAfD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,4DAA0C,CAAA;QAC1C,sDAAoC,CAAA;QACpC,4DAA0C,CAAA;QAC1C,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAfW,cAAc,GAAd,4BAAc,KAAd,4BAAc,QAezB;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oCAAsB,yBAWrC,CAAA;AACH,CAAC,EA1CgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA0C7B"}
|
|
@@ -59,6 +59,17 @@ export interface SecretVersionSummary {
|
|
|
59
59
|
* The version number of the secret. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
60
|
*/
|
|
61
61
|
"versionNumber": number;
|
|
62
|
+
/**
|
|
63
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
64
|
+
* <p>
|
|
65
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"systemTags"?: {
|
|
69
|
+
[key: string]: {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
62
73
|
}
|
|
63
74
|
export declare namespace SecretVersionSummary {
|
|
64
75
|
enum ContentType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret-version-summary.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-version-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"secret-version-summary.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret-version-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+DH,IAAiB,oBAAoB,CAiCpC;AAjCD,WAAiB,oBAAoB;IACnC,IAAY,WAOX;IAPD,WAAY,WAAW;QACrB,gCAAiB,CAAA;QACjB;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EAPW,WAAW,GAAX,gCAAW,KAAX,gCAAW,QAOtB;IAED,IAAY,MAWX;IAXD,WAAY,MAAM;QAChB,6BAAmB,CAAA;QACnB,6BAAmB,CAAA;QACnB,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,mCAAyB,CAAA;QACzB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EAXW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAWjB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAjCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiCpC"}
|
package/lib/model/secret.d.ts
CHANGED
|
@@ -73,6 +73,23 @@ export interface Secret {
|
|
|
73
73
|
"metadata"?: {
|
|
74
74
|
[key: string]: any;
|
|
75
75
|
};
|
|
76
|
+
"rotationConfig"?: model.RotationConfig;
|
|
77
|
+
/**
|
|
78
|
+
* Additional information about the status of the secret rotation
|
|
79
|
+
*/
|
|
80
|
+
"rotationStatus"?: Secret.RotationStatus;
|
|
81
|
+
/**
|
|
82
|
+
* A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
|
83
|
+
* Example: {@code 2019-04-03T21:10:29.600Z}
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"lastRotationTime"?: Date;
|
|
87
|
+
/**
|
|
88
|
+
* A property indicating when the secret is scheduled to be rotated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
|
89
|
+
* Example: {@code 2019-04-03T21:10:29.600Z}
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
"nextRotationTime"?: Date;
|
|
76
93
|
/**
|
|
77
94
|
* The user-friendly name of the secret. Avoid entering confidential information.
|
|
78
95
|
*/
|
|
@@ -121,6 +138,17 @@ export declare namespace Secret {
|
|
|
121
138
|
*/
|
|
122
139
|
UnknownValue = "UNKNOWN_VALUE"
|
|
123
140
|
}
|
|
141
|
+
enum RotationStatus {
|
|
142
|
+
InProgress = "IN_PROGRESS",
|
|
143
|
+
Scheduled = "SCHEDULED",
|
|
144
|
+
NotEnabled = "NOT_ENABLED",
|
|
145
|
+
Cancelling = "CANCELLING",
|
|
146
|
+
/**
|
|
147
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
148
|
+
* version of the SDK.
|
|
149
|
+
*/
|
|
150
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
151
|
+
}
|
|
124
152
|
function getJsonObj(obj: Secret): object;
|
|
125
153
|
function getDeserializedJsonObj(obj: Secret): object;
|
|
126
154
|
}
|
package/lib/model/secret.js
CHANGED
|
@@ -52,8 +52,23 @@ var Secret;
|
|
|
52
52
|
*/
|
|
53
53
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
54
54
|
})(LifecycleState = Secret.LifecycleState || (Secret.LifecycleState = {}));
|
|
55
|
+
let RotationStatus;
|
|
56
|
+
(function (RotationStatus) {
|
|
57
|
+
RotationStatus["InProgress"] = "IN_PROGRESS";
|
|
58
|
+
RotationStatus["Scheduled"] = "SCHEDULED";
|
|
59
|
+
RotationStatus["NotEnabled"] = "NOT_ENABLED";
|
|
60
|
+
RotationStatus["Cancelling"] = "CANCELLING";
|
|
61
|
+
/**
|
|
62
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
63
|
+
* version of the SDK.
|
|
64
|
+
*/
|
|
65
|
+
RotationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
66
|
+
})(RotationStatus = Secret.RotationStatus || (Secret.RotationStatus = {}));
|
|
55
67
|
function getJsonObj(obj) {
|
|
56
68
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
69
|
+
"rotationConfig": obj.rotationConfig
|
|
70
|
+
? model.RotationConfig.getJsonObj(obj.rotationConfig)
|
|
71
|
+
: undefined,
|
|
57
72
|
"secretRules": obj.secretRules
|
|
58
73
|
? obj.secretRules.map(item => {
|
|
59
74
|
return model.SecretRule.getJsonObj(item);
|
|
@@ -65,6 +80,9 @@ var Secret;
|
|
|
65
80
|
Secret.getJsonObj = getJsonObj;
|
|
66
81
|
function getDeserializedJsonObj(obj) {
|
|
67
82
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
83
|
+
"rotationConfig": obj.rotationConfig
|
|
84
|
+
? model.RotationConfig.getDeserializedJsonObj(obj.rotationConfig)
|
|
85
|
+
: undefined,
|
|
68
86
|
"secretRules": obj.secretRules
|
|
69
87
|
? obj.secretRules.map(item => {
|
|
70
88
|
return model.SecretRule.getDeserializedJsonObj(item);
|
package/lib/model/secret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/secret.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0GlC,IAAiB,MAAM,CAkEtB;AAlED,WAAiB,MAAM;IACrB,IAAY,cAeX;IAfD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,4DAA0C,CAAA;QAC1C,sDAAoC,CAAA;QACpC,4DAA0C,CAAA;QAC1C,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAfW,cAAc,GAAd,qBAAc,KAAd,qBAAc,QAezB;IAED,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,4CAA0B,CAAA;QAC1B,yCAAuB,CAAA;QACvB,4CAA0B,CAAA;QAC1B,2CAAyB,CAAA;QACzB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,qBAAc,KAAd,qBAAc,QAUzB;IAED,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,iBAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,6BAAsB,yBAiBrC,CAAA;AACH,CAAC,EAlEgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAkEtB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vault Secret Management API
|
|
3
|
+
* Use the Secret Management API to manage secrets and secret versions. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
4
|
+
* OpenAPI spec version: 20180608
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The TargetSystemDetails provides the targetSystem type and type-specific connection metadata
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface TargetSystemDetails {
|
|
18
|
+
"targetSystemType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace TargetSystemDetails {
|
|
21
|
+
function getJsonObj(obj: TargetSystemDetails): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: TargetSystemDetails): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Vault Secret Management API
|
|
4
|
+
* Use the Secret Management API to manage secrets and secret versions. For more information, see [Managing Secrets](/Content/KeyManagement/Tasks/managingsecrets.htm).
|
|
5
|
+
* OpenAPI spec version: 20180608
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.TargetSystemDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var TargetSystemDetails;
|
|
38
|
+
(function (TargetSystemDetails) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "targetSystemType" in obj && obj.targetSystemType) {
|
|
42
|
+
switch (obj.targetSystemType) {
|
|
43
|
+
case "ADB":
|
|
44
|
+
return model.AdbTargetSystemDetails.getJsonObj(jsonObj, true);
|
|
45
|
+
case "FUNCTION":
|
|
46
|
+
return model.FunctionTargetSystemDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
common.logger.info(`Unknown value for: ${obj.targetSystemType}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
TargetSystemDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if (obj && "targetSystemType" in obj && obj.targetSystemType) {
|
|
57
|
+
switch (obj.targetSystemType) {
|
|
58
|
+
case "ADB":
|
|
59
|
+
return model.AdbTargetSystemDetails.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
case "FUNCTION":
|
|
61
|
+
return model.FunctionTargetSystemDetails.getDeserializedJsonObj(jsonObj, true);
|
|
62
|
+
default:
|
|
63
|
+
common.logger.info(`Unknown value for: ${obj.targetSystemType}`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
TargetSystemDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(TargetSystemDetails = exports.TargetSystemDetails || (exports.TargetSystemDetails = {}));
|
|
70
|
+
//# sourceMappingURL=target-system-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target-system-details.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/target-system-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,mBAAmB,CA2CnC;AA3CD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,kBAAkB,IAAI,GAAG,IAAI,GAAG,CAAC,gBAAgB,EAAE;YAC5D,QAAQ,GAAG,CAAC,gBAAgB,EAAE;gBAC5B,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aACpE;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,8BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,kBAAkB,IAAI,GAAG,IAAI,GAAG,CAAC,gBAAgB,EAAE;YAC5D,QAAQ,GAAG,CAAC,gBAAgB,EAAE;gBAC5B,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aACpE;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA2CnC"}
|
|
@@ -40,6 +40,9 @@ var UpdateSecretDetails;
|
|
|
40
40
|
"secretContent": obj.secretContent
|
|
41
41
|
? model.SecretContentDetails.getJsonObj(obj.secretContent)
|
|
42
42
|
: undefined,
|
|
43
|
+
"rotationConfig": obj.rotationConfig
|
|
44
|
+
? model.RotationConfig.getJsonObj(obj.rotationConfig)
|
|
45
|
+
: undefined,
|
|
43
46
|
"secretRules": obj.secretRules
|
|
44
47
|
? obj.secretRules.map(item => {
|
|
45
48
|
return model.SecretRule.getJsonObj(item);
|
|
@@ -54,6 +57,9 @@ var UpdateSecretDetails;
|
|
|
54
57
|
"secretContent": obj.secretContent
|
|
55
58
|
? model.SecretContentDetails.getDeserializedJsonObj(obj.secretContent)
|
|
56
59
|
: undefined,
|
|
60
|
+
"rotationConfig": obj.rotationConfig
|
|
61
|
+
? model.RotationConfig.getDeserializedJsonObj(obj.rotationConfig)
|
|
62
|
+
: undefined,
|
|
57
63
|
"secretRules": obj.secretRules
|
|
58
64
|
? obj.secretRules.map(item => {
|
|
59
65
|
return model.SecretRule.getDeserializedJsonObj(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-secret-details.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/update-secret-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"update-secret-details.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/update-secret-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+ClC,IAAiB,mBAAmB,CAyCnC;AAzCD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC1D,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,8BAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACtE,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,0CAAsB,yBAmBrC,CAAA;AACH,CAAC,EAzCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAyCnC"}
|
|
@@ -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.79.1/vault/CancelSecretDeletion.ts.html |here} to see how to use CancelSecretDeletionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelSecretDeletionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180608
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/vault/CancelSecretRotation.ts.html |here} to see how to use CancelSecretRotationRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelSecretRotationRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the secret.
|
|
20
|
+
*/
|
|
21
|
+
"secretId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a
|
|
24
|
+
* resource, set the {@code if-match} parameter to the value of the etag from a
|
|
25
|
+
* previous GET or POST response for that resource. The resource will be
|
|
26
|
+
* updated or deleted only if the etag you provide matches the resource's
|
|
27
|
+
* current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the request. If provided, the returned request ID
|
|
33
|
+
* will include this value. Otherwise, a random request ID will be
|
|
34
|
+
* generated by the service.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"opcRequestId"?: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20180608
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=cancel-secret-rotation-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-secret-rotation-request.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/request/cancel-secret-rotation-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -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.79.1/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.79.1/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.79.1/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.79.1/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.79.1/vault/GetSecretVersion.ts.html |here} to see how to use GetSecretVersionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSecretVersionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/lib/request/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as CancelSecretDeletionRequest from "./cancel-secret-deletion-request";
|
|
14
14
|
export import CancelSecretDeletionRequest = CancelSecretDeletionRequest.CancelSecretDeletionRequest;
|
|
15
|
+
import * as CancelSecretRotationRequest from "./cancel-secret-rotation-request";
|
|
16
|
+
export import CancelSecretRotationRequest = CancelSecretRotationRequest.CancelSecretRotationRequest;
|
|
15
17
|
import * as CancelSecretVersionDeletionRequest from "./cancel-secret-version-deletion-request";
|
|
16
18
|
export import CancelSecretVersionDeletionRequest = CancelSecretVersionDeletionRequest.CancelSecretVersionDeletionRequest;
|
|
17
19
|
import * as ChangeSecretCompartmentRequest from "./change-secret-compartment-request";
|
|
@@ -26,6 +28,8 @@ import * as ListSecretVersionsRequest from "./list-secret-versions-request";
|
|
|
26
28
|
export import ListSecretVersionsRequest = ListSecretVersionsRequest.ListSecretVersionsRequest;
|
|
27
29
|
import * as ListSecretsRequest from "./list-secrets-request";
|
|
28
30
|
export import ListSecretsRequest = ListSecretsRequest.ListSecretsRequest;
|
|
31
|
+
import * as RotateSecretRequest from "./rotate-secret-request";
|
|
32
|
+
export import RotateSecretRequest = RotateSecretRequest.RotateSecretRequest;
|
|
29
33
|
import * as ScheduleSecretDeletionRequest from "./schedule-secret-deletion-request";
|
|
30
34
|
export import ScheduleSecretDeletionRequest = ScheduleSecretDeletionRequest.ScheduleSecretDeletionRequest;
|
|
31
35
|
import * as ScheduleSecretVersionDeletionRequest from "./schedule-secret-version-deletion-request";
|
package/lib/request/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAgBH,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,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.79.1/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.79.1/vault/ListSecrets.ts.html |here} to see how to use ListSecretsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180608
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/vault/RotateSecret.ts.html |here} to see how to use RotateSecretRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface RotateSecretRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the secret.
|
|
20
|
+
*/
|
|
21
|
+
"secretId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a
|
|
24
|
+
* resource, set the {@code if-match} parameter to the value of the etag from a
|
|
25
|
+
* previous GET or POST response for that resource. The resource will be
|
|
26
|
+
* updated or deleted only if the etag you provide matches the resource's
|
|
27
|
+
* current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the request. If provided, the returned request ID
|
|
33
|
+
* will include this value. Otherwise, a random request ID will be
|
|
34
|
+
* generated by the service.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"opcRequestId"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* A token that uniquely identifies a request so it can be retried in case
|
|
40
|
+
* of a timeout or server error without risk of executing that same action
|
|
41
|
+
* again. Retry tokens expire after 24 hours, but can be invalidated
|
|
42
|
+
* before then due to conflicting operations (e.g., if a resource has been
|
|
43
|
+
* deleted and purged from the system, then a retry of the original
|
|
44
|
+
* creation request may be rejected).
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"opcRetryToken"?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20180608
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=rotate-secret-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotate-secret-request.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/request/rotate-secret-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -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.79.1/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.79.1/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.79.1/vault/UpdateSecret.ts.html |here} to see how to use UpdateSecretRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateSecretRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -16,8 +16,7 @@ export interface CancelSecretDeletionResponse {
|
|
|
16
16
|
*/
|
|
17
17
|
"etag": string;
|
|
18
18
|
/**
|
|
19
|
-
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
|
20
|
-
* a particular request, please provide the request ID.
|
|
19
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
21
20
|
*
|
|
22
21
|
*/
|
|
23
22
|
"opcRequestId": string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180608
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
export interface CancelSecretRotationResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
"opcRequestId": string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20180608
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=cancel-secret-rotation-response.js.map
|