@the-ai-company/cbio-node-runtime 1.48.6 → 1.49.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/README.md +40 -25
- package/dist/clients/agent/client.d.ts +8 -6
- package/dist/clients/agent/client.js +67 -49
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +13 -1
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.d.ts +20 -14
- package/dist/clients/owner/client.js +136 -51
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +58 -26
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/runtime/index.d.ts +4 -3
- package/dist/runtime/index.js +5 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +90 -3
- package/dist/vault-core/contracts.js +3 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +44 -25
- package/dist/vault-core/core.js +290 -73
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +9 -1
- package/dist/vault-core/defaults.js +39 -6
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +3 -3
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +1 -0
- package/dist/vault-core/persistence.js +7 -1
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +8 -0
- package/dist/vault-ingress/defaults.d.ts +4 -1
- package/dist/vault-ingress/defaults.js +12 -3
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +137 -21
- package/dist/vault-ingress/index.js +156 -46
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +7 -2
- package/dist/vault-ingress/remote-transport.js +61 -3
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/dist/vault-ingress/server-utils.d.ts +2 -1
- package/dist/vault-ingress/server-utils.js +42 -1
- package/dist/vault-ingress/server-utils.js.map +1 -1
- package/docs/REFERENCE.md +46 -17
- package/docs/api/README.md +10 -3
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/VaultCore.md +258 -102
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
- package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultClient.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +21 -0
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +41 -5
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +51 -3
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +41 -0
- package/docs/api/interfaces/CbioRuntime.md +21 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +3 -9
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultClientOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +17 -0
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +23 -0
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +123 -33
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +13 -19
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/{VaultRegisterAgentInput.md → VaultImportAgentInput.md} +4 -10
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +11 -0
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +79 -0
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/examples/process-isolation.ts +24 -15
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.49.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -37,25 +37,57 @@ This is the primary implementation of the Vault logic.
|
|
|
37
37
|
|
|
38
38
|
## Methods
|
|
39
39
|
|
|
40
|
-
###
|
|
40
|
+
### \_getCapability()
|
|
41
41
|
|
|
42
|
-
> **
|
|
42
|
+
> **\_getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
|
|
43
43
|
|
|
44
44
|
#### Parameters
|
|
45
45
|
|
|
46
|
-
#####
|
|
46
|
+
##### vaultId
|
|
47
47
|
|
|
48
|
-
`
|
|
48
|
+
`VaultId`
|
|
49
|
+
|
|
50
|
+
##### agentId
|
|
51
|
+
|
|
52
|
+
`string`
|
|
53
|
+
|
|
54
|
+
##### capabilityId
|
|
55
|
+
|
|
56
|
+
`string`
|
|
49
57
|
|
|
50
58
|
#### Returns
|
|
51
59
|
|
|
52
|
-
`Promise`\<`
|
|
60
|
+
`Promise`\<`AgentCapability` \| `null`\>
|
|
61
|
+
|
|
62
|
+
***
|
|
63
|
+
|
|
64
|
+
### \_storeCustomFlowSecret()
|
|
65
|
+
|
|
66
|
+
> **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
|
|
67
|
+
|
|
68
|
+
#### Parameters
|
|
69
|
+
|
|
70
|
+
##### flow
|
|
71
|
+
|
|
72
|
+
`CustomHttpFlowDefinition`
|
|
73
|
+
|
|
74
|
+
##### alias
|
|
75
|
+
|
|
76
|
+
`string`
|
|
77
|
+
|
|
78
|
+
##### plaintext
|
|
79
|
+
|
|
80
|
+
`string`
|
|
81
|
+
|
|
82
|
+
#### Returns
|
|
83
|
+
|
|
84
|
+
`Promise`\<`SecretRecord`\>
|
|
53
85
|
|
|
54
86
|
***
|
|
55
87
|
|
|
56
|
-
###
|
|
88
|
+
### agentAuthorizeDispatch()
|
|
57
89
|
|
|
58
|
-
> **
|
|
90
|
+
> **agentAuthorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
|
|
59
91
|
|
|
60
92
|
#### Parameters
|
|
61
93
|
|
|
@@ -69,161 +101,193 @@ This is the primary implementation of the Vault logic.
|
|
|
69
101
|
|
|
70
102
|
***
|
|
71
103
|
|
|
72
|
-
###
|
|
104
|
+
### agentDispatchSecret()
|
|
73
105
|
|
|
74
|
-
> **
|
|
106
|
+
> **agentDispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
|
|
75
107
|
|
|
76
108
|
#### Parameters
|
|
77
109
|
|
|
78
|
-
#####
|
|
110
|
+
##### request
|
|
79
111
|
|
|
80
|
-
`
|
|
112
|
+
`DispatchRequest`
|
|
81
113
|
|
|
82
114
|
#### Returns
|
|
83
115
|
|
|
84
|
-
`Promise`\<`
|
|
116
|
+
`Promise`\<`DispatchResult`\>
|
|
85
117
|
|
|
86
118
|
***
|
|
87
119
|
|
|
88
|
-
###
|
|
120
|
+
### agentListCapabilities()
|
|
89
121
|
|
|
90
|
-
> **
|
|
122
|
+
> **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapability`[]\>
|
|
91
123
|
|
|
92
124
|
#### Parameters
|
|
93
125
|
|
|
94
|
-
#####
|
|
126
|
+
##### request
|
|
95
127
|
|
|
96
|
-
`
|
|
128
|
+
`AgentListCapabilitiesRequest`
|
|
97
129
|
|
|
98
130
|
#### Returns
|
|
99
131
|
|
|
100
|
-
`Promise
|
|
132
|
+
`Promise`\<readonly `AgentCapability`[]\>
|
|
101
133
|
|
|
102
134
|
***
|
|
103
135
|
|
|
104
|
-
###
|
|
136
|
+
### agentListSecrets()
|
|
105
137
|
|
|
106
|
-
> **
|
|
138
|
+
> **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
107
139
|
|
|
108
140
|
#### Parameters
|
|
109
141
|
|
|
110
142
|
##### request
|
|
111
143
|
|
|
112
|
-
`
|
|
144
|
+
`AgentListSecretsRequest`
|
|
113
145
|
|
|
114
146
|
#### Returns
|
|
115
147
|
|
|
116
|
-
`Promise
|
|
148
|
+
`Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
117
149
|
|
|
118
150
|
***
|
|
119
151
|
|
|
120
|
-
###
|
|
152
|
+
### agentSubmitCapabilityRequest()
|
|
121
153
|
|
|
122
|
-
> **
|
|
154
|
+
> **agentSubmitCapabilityRequest**(`command`): `Promise`\<`PendingCapabilityRequestRecord`\>
|
|
123
155
|
|
|
124
156
|
#### Parameters
|
|
125
157
|
|
|
126
|
-
#####
|
|
158
|
+
##### command
|
|
127
159
|
|
|
128
|
-
`
|
|
160
|
+
`AgentSubmitCapabilityRequestCommand`
|
|
129
161
|
|
|
130
|
-
|
|
162
|
+
#### Returns
|
|
131
163
|
|
|
132
|
-
`
|
|
164
|
+
`Promise`\<`PendingCapabilityRequestRecord`\>
|
|
133
165
|
|
|
134
|
-
|
|
166
|
+
***
|
|
135
167
|
|
|
136
|
-
|
|
168
|
+
### ownerApproveCapabilityRequest()
|
|
169
|
+
|
|
170
|
+
> **ownerApproveCapabilityRequest**(`command`): `Promise`\<`AgentCapability`\>
|
|
171
|
+
|
|
172
|
+
#### Parameters
|
|
173
|
+
|
|
174
|
+
##### command
|
|
175
|
+
|
|
176
|
+
`OwnerApproveCapabilityRequestCommand`
|
|
137
177
|
|
|
138
178
|
#### Returns
|
|
139
179
|
|
|
140
|
-
`Promise`\<`
|
|
180
|
+
`Promise`\<`AgentCapability`\>
|
|
141
181
|
|
|
142
182
|
***
|
|
143
183
|
|
|
144
|
-
###
|
|
184
|
+
### ownerApproveDispatch()
|
|
145
185
|
|
|
146
|
-
> **
|
|
186
|
+
> **ownerApproveDispatch**(`command`): `Promise`\<`DispatchResult`\>
|
|
147
187
|
|
|
148
188
|
#### Parameters
|
|
149
189
|
|
|
150
|
-
#####
|
|
190
|
+
##### command
|
|
151
191
|
|
|
152
|
-
`
|
|
192
|
+
`OwnerApproveDispatchCommand`
|
|
153
193
|
|
|
154
|
-
|
|
194
|
+
#### Returns
|
|
155
195
|
|
|
156
|
-
`
|
|
196
|
+
`Promise`\<`DispatchResult`\>
|
|
157
197
|
|
|
158
|
-
|
|
198
|
+
***
|
|
159
199
|
|
|
160
|
-
|
|
200
|
+
### ownerDefineSecretTargets()
|
|
201
|
+
|
|
202
|
+
> **ownerDefineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
|
|
203
|
+
|
|
204
|
+
#### Parameters
|
|
205
|
+
|
|
206
|
+
##### command
|
|
207
|
+
|
|
208
|
+
`OwnerDefineSecretTargetsCommand`
|
|
161
209
|
|
|
162
210
|
#### Returns
|
|
163
211
|
|
|
164
|
-
`Promise
|
|
212
|
+
`Promise`\<`SecretRecord`\>
|
|
165
213
|
|
|
166
214
|
***
|
|
167
215
|
|
|
168
|
-
###
|
|
216
|
+
### ownerDeleteSecret()
|
|
169
217
|
|
|
170
|
-
> **
|
|
218
|
+
> **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
|
|
171
219
|
|
|
172
220
|
#### Parameters
|
|
173
221
|
|
|
174
|
-
#####
|
|
222
|
+
##### command
|
|
175
223
|
|
|
176
|
-
`
|
|
224
|
+
`OwnerDeleteSecretCommand`
|
|
177
225
|
|
|
178
|
-
|
|
226
|
+
#### Returns
|
|
179
227
|
|
|
180
|
-
`
|
|
228
|
+
`Promise`\<`void`\>
|
|
181
229
|
|
|
182
|
-
|
|
230
|
+
***
|
|
231
|
+
|
|
232
|
+
### ownerExportSecret()
|
|
233
|
+
|
|
234
|
+
> **ownerExportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
|
|
235
|
+
|
|
236
|
+
#### Parameters
|
|
237
|
+
|
|
238
|
+
##### actor
|
|
239
|
+
|
|
240
|
+
`VaultPrincipal` & `object`
|
|
241
|
+
|
|
242
|
+
##### alias
|
|
183
243
|
|
|
184
244
|
`string`
|
|
185
245
|
|
|
246
|
+
##### request?
|
|
247
|
+
|
|
248
|
+
`Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
|
|
249
|
+
|
|
186
250
|
#### Returns
|
|
187
251
|
|
|
188
|
-
`Promise`\<`
|
|
252
|
+
`Promise`\<`OwnerSecretExport`\>
|
|
189
253
|
|
|
190
254
|
***
|
|
191
255
|
|
|
192
|
-
###
|
|
256
|
+
### ownerIssueAllAgentSessionTokens()
|
|
193
257
|
|
|
194
|
-
> **
|
|
258
|
+
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
|
|
195
259
|
|
|
196
260
|
#### Parameters
|
|
197
261
|
|
|
198
|
-
#####
|
|
262
|
+
##### actor
|
|
199
263
|
|
|
200
|
-
`
|
|
264
|
+
`VaultPrincipal` & `object`
|
|
201
265
|
|
|
202
266
|
#### Returns
|
|
203
267
|
|
|
204
|
-
`Promise`\<`OwnerSessionToken
|
|
268
|
+
`Promise`\<`OwnerSessionToken`[]\>
|
|
205
269
|
|
|
206
270
|
***
|
|
207
271
|
|
|
208
|
-
###
|
|
272
|
+
### ownerIssueSessionToken()
|
|
209
273
|
|
|
210
|
-
> **
|
|
274
|
+
> **ownerIssueSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
|
|
211
275
|
|
|
212
276
|
#### Parameters
|
|
213
277
|
|
|
214
|
-
#####
|
|
278
|
+
##### request
|
|
215
279
|
|
|
216
|
-
`
|
|
280
|
+
`OwnerIssueSessionTokenRequest`
|
|
217
281
|
|
|
218
282
|
#### Returns
|
|
219
283
|
|
|
220
|
-
`Promise`\<`OwnerSessionToken
|
|
284
|
+
`Promise`\<`OwnerSessionToken`\>
|
|
221
285
|
|
|
222
286
|
***
|
|
223
287
|
|
|
224
|
-
###
|
|
288
|
+
### ownerListAgents()
|
|
225
289
|
|
|
226
|
-
> **
|
|
290
|
+
> **ownerListAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
227
291
|
|
|
228
292
|
#### Parameters
|
|
229
293
|
|
|
@@ -241,9 +305,9 @@ This is the primary implementation of the Vault logic.
|
|
|
241
305
|
|
|
242
306
|
***
|
|
243
307
|
|
|
244
|
-
###
|
|
308
|
+
### ownerListCapabilities()
|
|
245
309
|
|
|
246
|
-
> **
|
|
310
|
+
> **ownerListCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
|
|
247
311
|
|
|
248
312
|
#### Parameters
|
|
249
313
|
|
|
@@ -257,7 +321,7 @@ This is the primary implementation of the Vault logic.
|
|
|
257
321
|
|
|
258
322
|
##### request?
|
|
259
323
|
|
|
260
|
-
`Omit`\<`OwnerListCapabilitiesRequest`, `"
|
|
324
|
+
`Omit`\<`OwnerListCapabilitiesRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
|
|
261
325
|
|
|
262
326
|
#### Returns
|
|
263
327
|
|
|
@@ -265,9 +329,31 @@ This is the primary implementation of the Vault logic.
|
|
|
265
329
|
|
|
266
330
|
***
|
|
267
331
|
|
|
268
|
-
###
|
|
332
|
+
### ownerListPendingCapabilityRequests()
|
|
333
|
+
|
|
334
|
+
> **ownerListPendingCapabilityRequests**(`command`): `Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
|
|
335
|
+
|
|
336
|
+
#### Parameters
|
|
337
|
+
|
|
338
|
+
##### command
|
|
339
|
+
|
|
340
|
+
###### owner
|
|
341
|
+
|
|
342
|
+
`VaultPrincipal`
|
|
343
|
+
|
|
344
|
+
###### vaultId
|
|
345
|
+
|
|
346
|
+
`VaultId`
|
|
347
|
+
|
|
348
|
+
#### Returns
|
|
349
|
+
|
|
350
|
+
`Promise`\<readonly `PendingCapabilityRequestRecord`[]\>
|
|
351
|
+
|
|
352
|
+
***
|
|
353
|
+
|
|
354
|
+
### ownerListPendingDispatches()
|
|
269
355
|
|
|
270
|
-
> **
|
|
356
|
+
> **ownerListPendingDispatches**(`command`): `Promise`\<readonly `PendingDispatchRecord`[]\>
|
|
271
357
|
|
|
272
358
|
#### Parameters
|
|
273
359
|
|
|
@@ -287,9 +373,31 @@ This is the primary implementation of the Vault logic.
|
|
|
287
373
|
|
|
288
374
|
***
|
|
289
375
|
|
|
290
|
-
###
|
|
376
|
+
### ownerListSecrets()
|
|
291
377
|
|
|
292
|
-
> **
|
|
378
|
+
> **ownerListSecrets**(`actor`, `request?`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
379
|
+
|
|
380
|
+
#### Parameters
|
|
381
|
+
|
|
382
|
+
##### actor
|
|
383
|
+
|
|
384
|
+
`VaultPrincipal` & `object`
|
|
385
|
+
|
|
386
|
+
##### request?
|
|
387
|
+
|
|
388
|
+
###### requestId?
|
|
389
|
+
|
|
390
|
+
`string`
|
|
391
|
+
|
|
392
|
+
#### Returns
|
|
393
|
+
|
|
394
|
+
`Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
395
|
+
|
|
396
|
+
***
|
|
397
|
+
|
|
398
|
+
### ownerOnPendingCapabilityRequest()
|
|
399
|
+
|
|
400
|
+
> **ownerOnPendingCapabilityRequest**(`callback`): () => `void`
|
|
293
401
|
|
|
294
402
|
#### Parameters
|
|
295
403
|
|
|
@@ -303,31 +411,55 @@ This is the primary implementation of the Vault logic.
|
|
|
303
411
|
|
|
304
412
|
***
|
|
305
413
|
|
|
306
|
-
###
|
|
414
|
+
### ownerOnPendingDispatch()
|
|
307
415
|
|
|
308
|
-
> **
|
|
416
|
+
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
309
417
|
|
|
310
418
|
#### Parameters
|
|
311
419
|
|
|
312
|
-
#####
|
|
420
|
+
##### callback
|
|
313
421
|
|
|
314
|
-
`
|
|
422
|
+
(`record`) => `void`
|
|
315
423
|
|
|
316
424
|
#### Returns
|
|
317
425
|
|
|
318
|
-
`
|
|
426
|
+
() => `void`
|
|
427
|
+
|
|
428
|
+
***
|
|
429
|
+
|
|
430
|
+
### ownerReadAudit()
|
|
431
|
+
|
|
432
|
+
> **ownerReadAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
|
|
433
|
+
|
|
434
|
+
#### Parameters
|
|
435
|
+
|
|
436
|
+
##### actor
|
|
437
|
+
|
|
438
|
+
`VaultPrincipal` & `object`
|
|
439
|
+
|
|
440
|
+
##### query
|
|
441
|
+
|
|
442
|
+
`AuditQuery`
|
|
443
|
+
|
|
444
|
+
##### request?
|
|
445
|
+
|
|
446
|
+
`Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
|
|
447
|
+
|
|
448
|
+
#### Returns
|
|
449
|
+
|
|
450
|
+
`Promise`\<readonly `AuditEntry`[]\>
|
|
319
451
|
|
|
320
452
|
***
|
|
321
453
|
|
|
322
|
-
###
|
|
454
|
+
### ownerRegisterAgentIdentity()
|
|
323
455
|
|
|
324
|
-
> **
|
|
456
|
+
> **ownerRegisterAgentIdentity**(`command`): `Promise`\<`void`\>
|
|
325
457
|
|
|
326
458
|
#### Parameters
|
|
327
459
|
|
|
328
460
|
##### command
|
|
329
461
|
|
|
330
|
-
`
|
|
462
|
+
`OwnerRegisterAgentIdentityCommand`
|
|
331
463
|
|
|
332
464
|
#### Returns
|
|
333
465
|
|
|
@@ -335,15 +467,15 @@ This is the primary implementation of the Vault logic.
|
|
|
335
467
|
|
|
336
468
|
***
|
|
337
469
|
|
|
338
|
-
###
|
|
470
|
+
### ownerRegisterCapability()
|
|
339
471
|
|
|
340
|
-
> **
|
|
472
|
+
> **ownerRegisterCapability**(`command`): `Promise`\<`void`\>
|
|
341
473
|
|
|
342
474
|
#### Parameters
|
|
343
475
|
|
|
344
476
|
##### command
|
|
345
477
|
|
|
346
|
-
`
|
|
478
|
+
`OwnerRegisterCapabilityCommand`
|
|
347
479
|
|
|
348
480
|
#### Returns
|
|
349
481
|
|
|
@@ -351,15 +483,15 @@ This is the primary implementation of the Vault logic.
|
|
|
351
483
|
|
|
352
484
|
***
|
|
353
485
|
|
|
354
|
-
###
|
|
486
|
+
### ownerRegisterCustomFlow()
|
|
355
487
|
|
|
356
|
-
> **
|
|
488
|
+
> **ownerRegisterCustomFlow**(`command`): `Promise`\<`void`\>
|
|
357
489
|
|
|
358
490
|
#### Parameters
|
|
359
491
|
|
|
360
492
|
##### command
|
|
361
493
|
|
|
362
|
-
`
|
|
494
|
+
`OwnerRegisterCustomHttpFlowCommand`
|
|
363
495
|
|
|
364
496
|
#### Returns
|
|
365
497
|
|
|
@@ -367,25 +499,31 @@ This is the primary implementation of the Vault logic.
|
|
|
367
499
|
|
|
368
500
|
***
|
|
369
501
|
|
|
370
|
-
###
|
|
502
|
+
### ownerRejectCapabilityRequest()
|
|
371
503
|
|
|
372
|
-
> **
|
|
504
|
+
> **ownerRejectCapabilityRequest**(`command`): `Promise`\<`void`\>
|
|
373
505
|
|
|
374
506
|
#### Parameters
|
|
375
507
|
|
|
376
|
-
#####
|
|
508
|
+
##### command
|
|
377
509
|
|
|
378
|
-
|
|
510
|
+
`OwnerRejectCapabilityRequestCommand`
|
|
379
511
|
|
|
380
|
-
|
|
512
|
+
#### Returns
|
|
381
513
|
|
|
382
|
-
|
|
514
|
+
`Promise`\<`void`\>
|
|
383
515
|
|
|
384
|
-
|
|
516
|
+
***
|
|
385
517
|
|
|
386
|
-
|
|
518
|
+
### ownerRejectDispatch()
|
|
387
519
|
|
|
388
|
-
`
|
|
520
|
+
> **ownerRejectDispatch**(`command`): `Promise`\<`void`\>
|
|
521
|
+
|
|
522
|
+
#### Parameters
|
|
523
|
+
|
|
524
|
+
##### command
|
|
525
|
+
|
|
526
|
+
`OwnerRejectDispatchCommand`
|
|
389
527
|
|
|
390
528
|
#### Returns
|
|
391
529
|
|
|
@@ -393,9 +531,9 @@ This is the primary implementation of the Vault logic.
|
|
|
393
531
|
|
|
394
532
|
***
|
|
395
533
|
|
|
396
|
-
###
|
|
534
|
+
### ownerRevokeCapability()
|
|
397
535
|
|
|
398
|
-
> **
|
|
536
|
+
> **ownerRevokeCapability**(`command`): `Promise`\<`void`\>
|
|
399
537
|
|
|
400
538
|
#### Parameters
|
|
401
539
|
|
|
@@ -409,33 +547,51 @@ This is the primary implementation of the Vault logic.
|
|
|
409
547
|
|
|
410
548
|
***
|
|
411
549
|
|
|
412
|
-
###
|
|
550
|
+
### ownerRevokeSessionToken()
|
|
413
551
|
|
|
414
|
-
> **
|
|
552
|
+
> **ownerRevokeSessionToken**(`request`): `Promise`\<`void`\>
|
|
415
553
|
|
|
416
554
|
#### Parameters
|
|
417
555
|
|
|
418
|
-
#####
|
|
556
|
+
##### request
|
|
419
557
|
|
|
420
|
-
|
|
558
|
+
###### actor
|
|
421
559
|
|
|
422
|
-
|
|
560
|
+
`VaultPrincipal` & `object`
|
|
561
|
+
|
|
562
|
+
###### token
|
|
423
563
|
|
|
424
564
|
`string`
|
|
425
565
|
|
|
426
|
-
|
|
566
|
+
###### vaultId
|
|
427
567
|
|
|
428
|
-
`
|
|
568
|
+
`VaultId`
|
|
429
569
|
|
|
430
570
|
#### Returns
|
|
431
571
|
|
|
432
|
-
`Promise`\<`
|
|
572
|
+
`Promise`\<`void`\>
|
|
573
|
+
|
|
574
|
+
***
|
|
575
|
+
|
|
576
|
+
### ownerSubmitCapabilityRequest()
|
|
577
|
+
|
|
578
|
+
> **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`PendingCapabilityRequestRecord`\>
|
|
579
|
+
|
|
580
|
+
#### Parameters
|
|
581
|
+
|
|
582
|
+
##### command
|
|
583
|
+
|
|
584
|
+
`SubmitCapabilityRequestCommand`
|
|
585
|
+
|
|
586
|
+
#### Returns
|
|
587
|
+
|
|
588
|
+
`Promise`\<`PendingCapabilityRequestRecord`\>
|
|
433
589
|
|
|
434
590
|
***
|
|
435
591
|
|
|
436
|
-
###
|
|
592
|
+
### ownerWriteSecret()
|
|
437
593
|
|
|
438
|
-
> **
|
|
594
|
+
> **ownerWriteSecret**(`command`): `Promise`\<`SecretRecord`\>
|
|
439
595
|
|
|
440
596
|
#### Parameters
|
|
441
597
|
|