oci-vault 2.79.1 → 2.81.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 +15 -14
- package/lib/client.js +73 -29
- package/lib/client.js.map +1 -1
- package/lib/model/bytes-generation-context.d.ts +39 -0
- package/lib/model/bytes-generation-context.js +64 -0
- package/lib/model/bytes-generation-context.js.map +1 -0
- package/lib/model/create-secret-details.d.ts +7 -1
- package/lib/model/create-secret-details.js +6 -0
- package/lib/model/create-secret-details.js.map +1 -1
- 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/passphrase-generation-context.d.ts +43 -0
- package/lib/model/passphrase-generation-context.js +64 -0
- package/lib/model/passphrase-generation-context.js.map +1 -0
- package/lib/model/secret-content-details.js +4 -2
- package/lib/model/secret-content-details.js.map +1 -1
- package/lib/model/secret-generation-context.d.ts +29 -0
- package/lib/model/secret-generation-context.js +76 -0
- package/lib/model/secret-generation-context.js.map +1 -0
- package/lib/model/secret-rule.js +4 -2
- package/lib/model/secret-rule.js.map +1 -1
- package/lib/model/secret-summary.d.ts +6 -0
- package/lib/model/secret-summary.js +6 -0
- package/lib/model/secret-summary.js.map +1 -1
- package/lib/model/secret-version-summary.d.ts +5 -0
- package/lib/model/secret-version-summary.js.map +1 -1
- package/lib/model/secret-version.d.ts +5 -0
- package/lib/model/secret-version.js.map +1 -1
- package/lib/model/secret.d.ts +6 -0
- package/lib/model/secret.js +6 -0
- package/lib/model/secret.js.map +1 -1
- package/lib/model/ssh-key-generation-context.d.ts +40 -0
- package/lib/model/ssh-key-generation-context.js +65 -0
- package/lib/model/ssh-key-generation-context.js.map +1 -0
- package/lib/model/target-system-details.js +4 -2
- package/lib/model/target-system-details.js.map +1 -1
- package/lib/model/update-secret-details.d.ts +6 -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 +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/rotate-secret-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/model/secret.js
CHANGED
|
@@ -73,6 +73,9 @@ var Secret;
|
|
|
73
73
|
? obj.secretRules.map(item => {
|
|
74
74
|
return model.SecretRule.getJsonObj(item);
|
|
75
75
|
})
|
|
76
|
+
: undefined,
|
|
77
|
+
"secretGenerationContext": obj.secretGenerationContext
|
|
78
|
+
? model.SecretGenerationContext.getJsonObj(obj.secretGenerationContext)
|
|
76
79
|
: undefined
|
|
77
80
|
});
|
|
78
81
|
return jsonObj;
|
|
@@ -87,6 +90,9 @@ var Secret;
|
|
|
87
90
|
? obj.secretRules.map(item => {
|
|
88
91
|
return model.SecretRule.getDeserializedJsonObj(item);
|
|
89
92
|
})
|
|
93
|
+
: undefined,
|
|
94
|
+
"secretGenerationContext": obj.secretGenerationContext
|
|
95
|
+
? model.SecretGenerationContext.getDeserializedJsonObj(obj.secretGenerationContext)
|
|
90
96
|
: undefined
|
|
91
97
|
});
|
|
92
98
|
return jsonObj;
|
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
|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,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,iBAAU,aAqBzB,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;YAEb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,6BAAsB,yBAqBrC,CAAA;AACH,CAAC,EA1EgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA0EtB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Generates ssh keys. By default, the keys are stored as - {\"publicKey\": \"%GENERATED_PUBLIC_KEY%\", \"privateKey\": \"%GENERATED_PRIVATE_KEY%\"} in PEM format.
|
|
16
|
+
* The SecretTemplate must have both %GENERATED_PUBLIC_KEY% and %GENERATED_PRIVATE_KEY% keywords which is later replaced with the respective keys, if provided.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface SshKeyGenerationContext extends model.SecretGenerationContext {
|
|
20
|
+
/**
|
|
21
|
+
* Name of SSH key generation template to generate SSH key type secret.
|
|
22
|
+
*/
|
|
23
|
+
"generationTemplate": SshKeyGenerationContext.GenerationTemplate;
|
|
24
|
+
"generationType": string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace SshKeyGenerationContext {
|
|
27
|
+
enum GenerationTemplate {
|
|
28
|
+
Rsa2048 = "RSA_2048",
|
|
29
|
+
Rsa3072 = "RSA_3072",
|
|
30
|
+
Rsa4096 = "RSA_4096",
|
|
31
|
+
/**
|
|
32
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
33
|
+
* version of the SDK.
|
|
34
|
+
*/
|
|
35
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
36
|
+
}
|
|
37
|
+
function getJsonObj(obj: SshKeyGenerationContext, isParentJsonObj?: boolean): object;
|
|
38
|
+
const generationType = "SSH_KEY";
|
|
39
|
+
function getDeserializedJsonObj(obj: SshKeyGenerationContext, isParentJsonObj?: boolean): object;
|
|
40
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.SshKeyGenerationContext = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SshKeyGenerationContext;
|
|
37
|
+
(function (SshKeyGenerationContext) {
|
|
38
|
+
let GenerationTemplate;
|
|
39
|
+
(function (GenerationTemplate) {
|
|
40
|
+
GenerationTemplate["Rsa2048"] = "RSA_2048";
|
|
41
|
+
GenerationTemplate["Rsa3072"] = "RSA_3072";
|
|
42
|
+
GenerationTemplate["Rsa4096"] = "RSA_4096";
|
|
43
|
+
/**
|
|
44
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
45
|
+
* version of the SDK.
|
|
46
|
+
*/
|
|
47
|
+
GenerationTemplate["UnknownValue"] = "UNKNOWN_VALUE";
|
|
48
|
+
})(GenerationTemplate = SshKeyGenerationContext.GenerationTemplate || (SshKeyGenerationContext.GenerationTemplate = {}));
|
|
49
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.SecretGenerationContext.getJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
SshKeyGenerationContext.getJsonObj = getJsonObj;
|
|
56
|
+
SshKeyGenerationContext.generationType = "SSH_KEY";
|
|
57
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
|
+
? obj
|
|
60
|
+
: model.SecretGenerationContext.getDeserializedJsonObj(obj))), {});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
SshKeyGenerationContext.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(SshKeyGenerationContext = exports.SshKeyGenerationContext || (exports.SshKeyGenerationContext = {}));
|
|
65
|
+
//# sourceMappingURL=ssh-key-generation-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssh-key-generation-context.js","sourceRoot":"","sources":["../../../../../lib/vault/lib/model/ssh-key-generation-context.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,uBAAuB,CAoCvC;AApCD,WAAiB,uBAAuB;IACtC,IAAY,kBASX;IATD,WAAY,kBAAkB;QAC5B,0CAAoB,CAAA;QACpB,0CAAoB,CAAA;QACpB,0CAAoB,CAAA;QACpB;;;WAGG;QACH,oDAA8B,CAAA;IAChC,CAAC,EATW,kBAAkB,GAAlB,0CAAkB,KAAlB,0CAAkB,QAS7B;IAED,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GAC5E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,kCAAU,aASzB,CAAA;IACY,sCAAc,GAAG,SAAS,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GACxF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,8CAAsB,yBAYrC,CAAA;AACH,CAAC,EApCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAoCvC"}
|
|
@@ -45,7 +45,8 @@ var TargetSystemDetails;
|
|
|
45
45
|
case "FUNCTION":
|
|
46
46
|
return model.FunctionTargetSystemDetails.getJsonObj(jsonObj, true);
|
|
47
47
|
default:
|
|
48
|
-
common.logger
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.targetSystemType}`);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
return jsonObj;
|
|
@@ -60,7 +61,8 @@ var TargetSystemDetails;
|
|
|
60
61
|
case "FUNCTION":
|
|
61
62
|
return model.FunctionTargetSystemDetails.getDeserializedJsonObj(jsonObj, true);
|
|
62
63
|
default:
|
|
63
|
-
common.logger
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.targetSystemType}`);
|
|
64
66
|
}
|
|
65
67
|
}
|
|
66
68
|
return jsonObj;
|
|
@@ -1 +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,
|
|
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,CA6CnC;AA7CD,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,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aAC1E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,8BAAU,aAqBzB,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,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aAC1E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,0CAAsB,yBAqBrC,CAAA;AACH,CAAC,EA7CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA6CnC"}
|
|
@@ -61,6 +61,12 @@ export interface UpdateSecretDetails {
|
|
|
61
61
|
* A list of rules to control how the secret is used and managed.
|
|
62
62
|
*/
|
|
63
63
|
"secretRules"?: Array<model.SecretRule>;
|
|
64
|
+
"secretGenerationContext"?: model.PassphraseGenerationContext | model.SshKeyGenerationContext | model.BytesGenerationContext;
|
|
65
|
+
/**
|
|
66
|
+
* The value of this flag determines whether or not secret content will be generated automatically.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"enableAutoGeneration"?: boolean;
|
|
64
70
|
}
|
|
65
71
|
export declare namespace UpdateSecretDetails {
|
|
66
72
|
function getJsonObj(obj: UpdateSecretDetails): object;
|
|
@@ -47,6 +47,9 @@ var UpdateSecretDetails;
|
|
|
47
47
|
? obj.secretRules.map(item => {
|
|
48
48
|
return model.SecretRule.getJsonObj(item);
|
|
49
49
|
})
|
|
50
|
+
: undefined,
|
|
51
|
+
"secretGenerationContext": obj.secretGenerationContext
|
|
52
|
+
? model.SecretGenerationContext.getJsonObj(obj.secretGenerationContext)
|
|
50
53
|
: undefined
|
|
51
54
|
});
|
|
52
55
|
return jsonObj;
|
|
@@ -64,6 +67,9 @@ var UpdateSecretDetails;
|
|
|
64
67
|
? obj.secretRules.map(item => {
|
|
65
68
|
return model.SecretRule.getDeserializedJsonObj(item);
|
|
66
69
|
})
|
|
70
|
+
: undefined,
|
|
71
|
+
"secretGenerationContext": obj.secretGenerationContext
|
|
72
|
+
? model.SecretGenerationContext.getDeserializedJsonObj(obj.secretGenerationContext)
|
|
67
73
|
: undefined
|
|
68
74
|
});
|
|
69
75
|
return jsonObj;
|
|
@@ -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;AAwDlC,IAAiB,mBAAmB,CA+CnC;AA/CD,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,CA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AG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,0CAAsB,yBAsBrC,CAAA;AACH,CAAC,EA/CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA+CnC"}
|
|
@@ -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.81.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.81.0/vault/CancelSecretRotation.ts.html |here} to see how to use CancelSecretRotationRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelSecretRotationRequest 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.81.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.81.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.81.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.81.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.81.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.81.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.81.0/vault/ListSecrets.ts.html |here} to see how to use ListSecretsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListSecretsRequest 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.81.0/vault/RotateSecret.ts.html |here} to see how to use RotateSecretRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface RotateSecretRequest 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.81.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.81.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.81.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.81.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.81.0",
|
|
19
|
+
"oci-workrequests": "2.81.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|