@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.5
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 +48 -209
- package/dist/clients/agent/client.d.ts +18 -40
- package/dist/clients/agent/client.js +22 -109
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +1 -8
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.d.ts +2 -102
- package/dist/clients/owner/client.js +119 -240
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +37 -70
- package/dist/clients/owner/index.d.ts +2 -4
- package/dist/clients/owner/index.js +1 -2
- package/dist/clients/owner/index.js.map +1 -1
- package/dist/internal/id-factory.d.ts +0 -2
- package/dist/internal/id-factory.js +0 -6
- package/dist/internal/id-factory.js.map +1 -1
- package/dist/protocol/identity.d.ts +1 -1
- package/dist/protocol/identity.js +3 -3
- package/dist/protocol/identity.js.map +1 -1
- package/dist/public-types.d.ts +5 -14
- package/dist/public-types.js +1 -8
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +2 -2
- package/dist/runtime/identity.js +3 -5
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +10 -12
- package/dist/runtime/index.js +7 -8
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +7 -6
- package/dist/runtime/owner-session.js +5 -6
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/storage/fs.d.ts +3 -2
- package/dist/storage/fs.js +8 -5
- package/dist/storage/fs.js.map +1 -1
- package/dist/storage/prefix.d.ts +1 -0
- package/dist/storage/prefix.js +7 -0
- package/dist/storage/prefix.js.map +1 -1
- package/dist/storage/provider.d.ts +2 -0
- package/dist/vault-core/contracts.d.ts +112 -193
- package/dist/vault-core/contracts.js +5 -8
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +127 -62
- package/dist/vault-core/core.js +500 -1182
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +26 -42
- package/dist/vault-core/defaults.js +73 -229
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/errors.d.ts +3 -2
- package/dist/vault-core/errors.js.map +1 -1
- package/dist/vault-core/index.d.ts +5 -5
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +78 -118
- package/dist/vault-core/persistence.js +329 -421
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +19 -24
- package/dist/vault-core/read-policy.d.ts +3 -2
- package/dist/vault-core/read-policy.js.map +1 -1
- package/dist/vault-core/tool-metadata.js +2 -2
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +4 -2
- package/dist/vault-ingress/defaults.js +14 -8
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +43 -117
- package/dist/vault-ingress/index.js +98 -453
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +5 -3
- package/dist/vault-ingress/remote-transport.js +8 -28
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/ARCHITECTURE.md +39 -22
- package/docs/CUSTODY_MODEL.md +1 -1
- package/docs/IDENTITY_MODEL.md +5 -5
- package/docs/MIGRATION-1.51.md +19 -19
- package/docs/MIGRATION-1.65.md +61 -0
- package/docs/PROCESS_ISOLATION.md +2 -2
- package/docs/REFERENCE.md +42 -224
- package/docs/api/README.md +50 -29
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +89 -0
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultAuditLog.md +65 -0
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +69 -0
- package/docs/api/classes/PersistentVaultSecretCustody.md +93 -0
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +125 -0
- package/docs/api/classes/PersistentVaultSecretRepository.md +127 -0
- package/docs/api/classes/VaultCore.md +299 -214
- package/docs/api/classes/VaultCoreError.md +3 -3
- package/docs/api/enumerations/AuditAction.md +143 -0
- package/docs/api/enumerations/AuditOutcome.md +35 -0
- package/docs/api/enumerations/DispatchStatus.md +35 -0
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -15
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerClient.md +17 -0
- package/docs/api/functions/createOwnerSession.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +4 -4
- package/docs/api/functions/createVault.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 +5 -9
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +17 -0
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +2 -2
- package/docs/api/functions/handleVaultHttpDispatch.md +2 -2
- package/docs/api/functions/initializeVaultCustody.md +7 -3
- 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 +4 -8
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +20 -59
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +12 -44
- package/docs/api/interfaces/AgentIdentity.md +3 -3
- package/docs/api/interfaces/AgentIdentityRecord.md +47 -0
- package/docs/api/interfaces/AgentRequestResult.md +35 -0
- package/docs/api/interfaces/AgentRuntimeManifest.md +55 -0
- package/docs/api/interfaces/AgentSecretGrant.md +41 -0
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +53 -0
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +65 -0
- package/docs/api/interfaces/AuditEntry.md +83 -0
- package/docs/api/interfaces/CbioRuntime.md +13 -150
- package/docs/api/interfaces/CreateAgentClientOptions.md +4 -10
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/{CreateVaultClientOptions.md → CreateOwnerClientOptions.md} +9 -11
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +3 -117
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
- package/docs/api/interfaces/CreateVaultOptions.md +1 -121
- package/docs/api/interfaces/CreatedVault.md +2 -2
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +71 -0
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -13
- package/docs/api/interfaces/DispatchAuthorization.md +43 -0
- package/docs/api/interfaces/DispatchInstruction.md +47 -0
- package/docs/api/interfaces/DispatchRequest.md +83 -0
- package/docs/api/interfaces/DispatchResult.md +53 -0
- package/docs/api/interfaces/IStorageProvider.md +13 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +31 -11
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -7
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +2 -2
- package/docs/api/interfaces/OwnerClient.md +417 -0
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +97 -0
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +3 -3
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +73 -0
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -121
- package/docs/api/interfaces/RecoveredVault.md +2 -2
- package/docs/api/interfaces/RequestRecord.md +107 -0
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +11 -0
- package/docs/api/interfaces/SecretDestinationGrant.md +41 -0
- package/docs/api/interfaces/SecretId.md +11 -0
- package/docs/api/interfaces/SecretRecord.md +89 -0
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +3 -9
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -5
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +17 -0
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultId.md +11 -0
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +23 -0
- package/docs/api/interfaces/VaultListRequestsInput.md +17 -0
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +2 -2
- package/docs/api/interfaces/VaultPrincipal.md +17 -0
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +7 -7
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +23 -0
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +547 -0
- package/docs/api/interfaces/VaultUpdateAgentInput.md +7 -7
- package/docs/api/type-aliases/AgentId.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +7 -0
- package/docs/api/type-aliases/GrantStatus.md +7 -0
- package/docs/api/type-aliases/SecretLifecycleStatus.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +2 -2
- package/docs/es/README.md +3 -3
- package/docs/fr/README.md +3 -3
- package/docs/ja/README.md +5 -5
- package/docs/ko/README.md +5 -5
- package/docs/pt/README.md +3 -3
- package/docs/zh/PROCESS_ISOLATION.md +2 -2
- package/docs/zh/README.md +23 -24
- package/examples/process-isolation.ts +26 -35
- package/package.json +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +0 -17
- package/docs/api/functions/createStandardAcquireBoundary.md +0 -31
- package/docs/api/functions/createStandardDispatchBoundary.md +0 -23
- package/docs/api/functions/createVaultClient.md +0 -32
- package/docs/api/functions/deriveIdentityId.md +0 -17
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +0 -31
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +0 -41
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +0 -23
- package/docs/api/interfaces/VaultClient.md +0 -473
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +0 -79
- package/docs/api/interfaces/VaultGrantCapabilityRequest.md +0 -23
- package/docs/api/interfaces/VaultIdentity.md +0 -11
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +0 -17
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +0 -23
- package/docs/api/interfaces/VaultSigner.md +0 -21
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +0 -73
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +0 -7
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +0 -7
- package/docs/api/type-aliases/CreateOwnerClientOptions.md +0 -7
- package/docs/api/type-aliases/OwnerAgentView.md +0 -7
- package/docs/api/type-aliases/OwnerClient.md +0 -13
- package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +0 -7
- package/docs/api/type-aliases/OwnerPendingApprovalView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestDetailView.md +0 -7
- package/docs/api/type-aliases/OwnerRequestSummaryView.md +0 -7
- package/docs/api/type-aliases/OwnerSecretView.md +0 -7
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.5**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Class: VaultCore
|
|
6
6
|
|
|
7
|
-
The Sovereign Vault Core.
|
|
8
|
-
This is the primary implementation of the Vault logic.
|
|
9
|
-
|
|
10
7
|
## Constructors
|
|
11
8
|
|
|
12
9
|
### Constructor
|
|
13
10
|
|
|
14
|
-
> **new VaultCore**(`
|
|
11
|
+
> **new VaultCore**(`deps`): `VaultCore`
|
|
15
12
|
|
|
16
13
|
#### Parameters
|
|
17
14
|
|
|
18
|
-
#####
|
|
15
|
+
##### deps
|
|
19
16
|
|
|
20
17
|
`VaultCoreDependencies`
|
|
21
18
|
|
|
@@ -29,47 +26,23 @@ This is the primary implementation of the Vault logic.
|
|
|
29
26
|
|
|
30
27
|
#### Get Signature
|
|
31
28
|
|
|
32
|
-
> **get** **vaultId**(): `VaultId`
|
|
29
|
+
> **get** **vaultId**(): [`VaultId`](../interfaces/VaultId.md)
|
|
33
30
|
|
|
34
31
|
##### Returns
|
|
35
32
|
|
|
36
|
-
`VaultId`
|
|
33
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
37
34
|
|
|
38
35
|
## Methods
|
|
39
36
|
|
|
40
|
-
### \_getCapability()
|
|
41
|
-
|
|
42
|
-
> **\_getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
|
|
43
|
-
|
|
44
|
-
#### Parameters
|
|
45
|
-
|
|
46
|
-
##### vaultId
|
|
47
|
-
|
|
48
|
-
`VaultId`
|
|
49
|
-
|
|
50
|
-
##### agentId
|
|
51
|
-
|
|
52
|
-
`string`
|
|
53
|
-
|
|
54
|
-
##### capabilityId
|
|
55
|
-
|
|
56
|
-
`string`
|
|
57
|
-
|
|
58
|
-
#### Returns
|
|
59
|
-
|
|
60
|
-
`Promise`\<`AgentCapability` \| `null`\>
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
37
|
### \_storeCustomFlowSecret()
|
|
65
38
|
|
|
66
|
-
> **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`
|
|
39
|
+
> **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`void`\>
|
|
67
40
|
|
|
68
41
|
#### Parameters
|
|
69
42
|
|
|
70
43
|
##### flow
|
|
71
44
|
|
|
72
|
-
`CustomHttpFlowDefinition`
|
|
45
|
+
[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md)
|
|
73
46
|
|
|
74
47
|
##### alias
|
|
75
48
|
|
|
@@ -81,189 +54,193 @@ This is the primary implementation of the Vault logic.
|
|
|
81
54
|
|
|
82
55
|
#### Returns
|
|
83
56
|
|
|
84
|
-
`Promise`\<`
|
|
57
|
+
`Promise`\<`void`\>
|
|
85
58
|
|
|
86
59
|
***
|
|
87
60
|
|
|
88
61
|
### agentAuthorizeDispatch()
|
|
89
62
|
|
|
90
|
-
> **agentAuthorizeDispatch**(`request`): `Promise
|
|
63
|
+
> **agentAuthorizeDispatch**(`request`): `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
|
|
91
64
|
|
|
92
65
|
#### Parameters
|
|
93
66
|
|
|
94
67
|
##### request
|
|
95
68
|
|
|
96
|
-
`DispatchRequest`
|
|
69
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
97
70
|
|
|
98
71
|
#### Returns
|
|
99
72
|
|
|
100
|
-
`Promise
|
|
73
|
+
`Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
|
|
101
74
|
|
|
102
75
|
***
|
|
103
76
|
|
|
104
77
|
### agentDispatchSecret()
|
|
105
78
|
|
|
106
|
-
> **agentDispatchSecret**(`request`): `Promise
|
|
79
|
+
> **agentDispatchSecret**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
107
80
|
|
|
108
81
|
#### Parameters
|
|
109
82
|
|
|
110
83
|
##### request
|
|
111
84
|
|
|
112
|
-
`DispatchRequest`
|
|
85
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
113
86
|
|
|
114
87
|
#### Returns
|
|
115
88
|
|
|
116
|
-
`Promise
|
|
89
|
+
`Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
117
90
|
|
|
118
91
|
***
|
|
119
92
|
|
|
120
93
|
### agentGetRequest()
|
|
121
94
|
|
|
122
|
-
> **agentGetRequest**(`
|
|
95
|
+
> **agentGetRequest**(`command`): `Promise`\<`any`\>
|
|
123
96
|
|
|
124
97
|
#### Parameters
|
|
125
98
|
|
|
126
|
-
#####
|
|
99
|
+
##### command
|
|
127
100
|
|
|
128
|
-
|
|
101
|
+
###### agent
|
|
129
102
|
|
|
130
|
-
|
|
103
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
131
104
|
|
|
132
|
-
|
|
105
|
+
###### proof
|
|
133
106
|
|
|
134
|
-
|
|
107
|
+
`any`
|
|
135
108
|
|
|
136
|
-
|
|
109
|
+
###### requestedAt
|
|
137
110
|
|
|
138
|
-
|
|
111
|
+
`string`
|
|
139
112
|
|
|
140
|
-
|
|
113
|
+
###### requestId
|
|
141
114
|
|
|
142
|
-
|
|
115
|
+
`string`
|
|
143
116
|
|
|
144
|
-
|
|
117
|
+
###### targetRequestId
|
|
118
|
+
|
|
119
|
+
`string`
|
|
145
120
|
|
|
146
121
|
#### Returns
|
|
147
122
|
|
|
148
|
-
`Promise`\<`
|
|
123
|
+
`Promise`\<`any`\>
|
|
149
124
|
|
|
150
125
|
***
|
|
151
126
|
|
|
152
|
-
###
|
|
127
|
+
### agentGetRuntimeManifest()
|
|
153
128
|
|
|
154
|
-
> **
|
|
129
|
+
> **agentGetRuntimeManifest**(`command`): `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
|
|
155
130
|
|
|
156
131
|
#### Parameters
|
|
157
132
|
|
|
158
|
-
#####
|
|
159
|
-
|
|
160
|
-
`AgentListCapabilitiesRequest`
|
|
133
|
+
##### command
|
|
161
134
|
|
|
162
|
-
|
|
135
|
+
###### agent
|
|
163
136
|
|
|
164
|
-
`
|
|
137
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
165
138
|
|
|
166
|
-
|
|
139
|
+
###### proof
|
|
167
140
|
|
|
168
|
-
|
|
141
|
+
`any`
|
|
169
142
|
|
|
170
|
-
|
|
143
|
+
###### requestedAt
|
|
171
144
|
|
|
172
|
-
|
|
145
|
+
`string`
|
|
173
146
|
|
|
174
|
-
|
|
147
|
+
###### requestId
|
|
175
148
|
|
|
176
|
-
`
|
|
149
|
+
`string`
|
|
177
150
|
|
|
178
151
|
#### Returns
|
|
179
152
|
|
|
180
|
-
`Promise`\<
|
|
153
|
+
`Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
|
|
181
154
|
|
|
182
155
|
***
|
|
183
156
|
|
|
184
|
-
###
|
|
157
|
+
### agentListRequests()
|
|
185
158
|
|
|
186
|
-
> **
|
|
159
|
+
> **agentListRequests**(`command`): `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
|
|
187
160
|
|
|
188
161
|
#### Parameters
|
|
189
162
|
|
|
190
|
-
#####
|
|
163
|
+
##### command
|
|
191
164
|
|
|
192
|
-
|
|
165
|
+
###### agent
|
|
193
166
|
|
|
194
|
-
|
|
167
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
195
168
|
|
|
196
|
-
|
|
169
|
+
###### proof
|
|
197
170
|
|
|
198
|
-
|
|
171
|
+
`any`
|
|
199
172
|
|
|
200
|
-
|
|
173
|
+
###### requestedAt
|
|
201
174
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
#### Parameters
|
|
175
|
+
`string`
|
|
205
176
|
|
|
206
|
-
|
|
177
|
+
###### requestId
|
|
207
178
|
|
|
208
|
-
`
|
|
179
|
+
`string`
|
|
209
180
|
|
|
210
181
|
#### Returns
|
|
211
182
|
|
|
212
|
-
`Promise
|
|
183
|
+
`Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
|
|
213
184
|
|
|
214
185
|
***
|
|
215
186
|
|
|
216
|
-
###
|
|
187
|
+
### agentListSecrets()
|
|
217
188
|
|
|
218
|
-
> **
|
|
189
|
+
> **agentListSecrets**(`command`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
219
190
|
|
|
220
191
|
#### Parameters
|
|
221
192
|
|
|
222
193
|
##### command
|
|
223
194
|
|
|
224
|
-
|
|
195
|
+
###### agent
|
|
225
196
|
|
|
226
|
-
|
|
197
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
227
198
|
|
|
228
|
-
|
|
199
|
+
###### proof
|
|
229
200
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
### ownerAllowOnce()
|
|
201
|
+
`any`
|
|
233
202
|
|
|
234
|
-
|
|
203
|
+
###### requestedAt
|
|
235
204
|
|
|
236
|
-
|
|
205
|
+
`string`
|
|
237
206
|
|
|
238
|
-
|
|
207
|
+
###### requestId
|
|
239
208
|
|
|
240
|
-
`
|
|
209
|
+
`string`
|
|
241
210
|
|
|
242
211
|
#### Returns
|
|
243
212
|
|
|
244
|
-
`Promise
|
|
213
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
245
214
|
|
|
246
215
|
***
|
|
247
216
|
|
|
248
|
-
###
|
|
217
|
+
### ownerApproveDispatch()
|
|
249
218
|
|
|
250
|
-
> **
|
|
219
|
+
> **ownerApproveDispatch**(`actor`, `requestId`, `decision`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
|
|
251
220
|
|
|
252
221
|
#### Parameters
|
|
253
222
|
|
|
254
|
-
#####
|
|
223
|
+
##### actor
|
|
224
|
+
|
|
225
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
255
226
|
|
|
256
|
-
|
|
227
|
+
##### requestId
|
|
228
|
+
|
|
229
|
+
`string`
|
|
230
|
+
|
|
231
|
+
##### decision
|
|
232
|
+
|
|
233
|
+
[`DispatchApprovalDecision`](../type-aliases/DispatchApprovalDecision.md)
|
|
257
234
|
|
|
258
235
|
#### Returns
|
|
259
236
|
|
|
260
|
-
`Promise
|
|
237
|
+
`Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
|
|
261
238
|
|
|
262
239
|
***
|
|
263
240
|
|
|
264
241
|
### ownerCreateSecret()
|
|
265
242
|
|
|
266
|
-
> **ownerCreateSecret**(`command`): `Promise
|
|
243
|
+
> **ownerCreateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
267
244
|
|
|
268
245
|
#### Parameters
|
|
269
246
|
|
|
@@ -273,231 +250,247 @@ This is the primary implementation of the Vault logic.
|
|
|
273
250
|
|
|
274
251
|
#### Returns
|
|
275
252
|
|
|
276
|
-
`Promise
|
|
253
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
277
254
|
|
|
278
255
|
***
|
|
279
256
|
|
|
280
|
-
###
|
|
257
|
+
### ownerExportSecret()
|
|
281
258
|
|
|
282
|
-
> **
|
|
259
|
+
> **ownerExportSecret**(`actor`, `alias`): `Promise`\<`any`\>
|
|
283
260
|
|
|
284
261
|
#### Parameters
|
|
285
262
|
|
|
286
|
-
#####
|
|
263
|
+
##### actor
|
|
264
|
+
|
|
265
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
287
266
|
|
|
288
|
-
|
|
267
|
+
##### alias
|
|
268
|
+
|
|
269
|
+
`string`
|
|
289
270
|
|
|
290
271
|
#### Returns
|
|
291
272
|
|
|
292
|
-
`Promise`\<`
|
|
273
|
+
`Promise`\<`any`\>
|
|
293
274
|
|
|
294
275
|
***
|
|
295
276
|
|
|
296
|
-
###
|
|
277
|
+
### ownerGetRequest()
|
|
297
278
|
|
|
298
|
-
> **
|
|
279
|
+
> **ownerGetRequest**(`actor`, `requestId`): `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
|
|
299
280
|
|
|
300
281
|
#### Parameters
|
|
301
282
|
|
|
302
|
-
#####
|
|
283
|
+
##### actor
|
|
284
|
+
|
|
285
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
303
286
|
|
|
304
|
-
|
|
287
|
+
##### requestId
|
|
288
|
+
|
|
289
|
+
`string`
|
|
305
290
|
|
|
306
291
|
#### Returns
|
|
307
292
|
|
|
308
|
-
`Promise
|
|
293
|
+
`Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
|
|
309
294
|
|
|
310
295
|
***
|
|
311
296
|
|
|
312
|
-
###
|
|
297
|
+
### ownerGrantAgentSecret()
|
|
313
298
|
|
|
314
|
-
> **
|
|
299
|
+
> **ownerGrantAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
315
300
|
|
|
316
301
|
#### Parameters
|
|
317
302
|
|
|
318
303
|
##### actor
|
|
319
304
|
|
|
320
|
-
`VaultPrincipal` & `object`
|
|
305
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
321
306
|
|
|
322
|
-
#####
|
|
307
|
+
##### rootAgentId
|
|
308
|
+
|
|
309
|
+
`string`
|
|
310
|
+
|
|
311
|
+
##### secretAlias
|
|
323
312
|
|
|
324
313
|
`string`
|
|
325
314
|
|
|
326
315
|
##### request?
|
|
327
316
|
|
|
328
|
-
|
|
317
|
+
###### requestId?
|
|
318
|
+
|
|
319
|
+
`string`
|
|
329
320
|
|
|
330
321
|
#### Returns
|
|
331
322
|
|
|
332
|
-
`Promise
|
|
323
|
+
`Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
333
324
|
|
|
334
325
|
***
|
|
335
326
|
|
|
336
|
-
###
|
|
327
|
+
### ownerGrantSecretDestination()
|
|
337
328
|
|
|
338
|
-
> **
|
|
329
|
+
> **ownerGrantSecretDestination**(`actor`, `secretAlias`, `domain`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
339
330
|
|
|
340
331
|
#### Parameters
|
|
341
332
|
|
|
342
333
|
##### actor
|
|
343
334
|
|
|
344
|
-
`VaultPrincipal` & `object`
|
|
335
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
336
|
+
|
|
337
|
+
##### secretAlias
|
|
338
|
+
|
|
339
|
+
`string`
|
|
345
340
|
|
|
346
|
-
#####
|
|
341
|
+
##### domain
|
|
347
342
|
|
|
348
343
|
`string`
|
|
349
344
|
|
|
350
345
|
##### request?
|
|
351
346
|
|
|
352
|
-
|
|
347
|
+
###### requestId?
|
|
348
|
+
|
|
349
|
+
`string`
|
|
353
350
|
|
|
354
351
|
#### Returns
|
|
355
352
|
|
|
356
|
-
`Promise
|
|
353
|
+
`Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
357
354
|
|
|
358
355
|
***
|
|
359
356
|
|
|
360
357
|
### ownerIssueAllAgentSessionTokens()
|
|
361
358
|
|
|
362
|
-
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`
|
|
359
|
+
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`object`[]\>
|
|
363
360
|
|
|
364
361
|
#### Parameters
|
|
365
362
|
|
|
366
363
|
##### actor
|
|
367
364
|
|
|
368
|
-
`VaultPrincipal` & `object`
|
|
365
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
369
366
|
|
|
370
367
|
#### Returns
|
|
371
368
|
|
|
372
|
-
`Promise`\<`
|
|
369
|
+
`Promise`\<`object`[]\>
|
|
373
370
|
|
|
374
371
|
***
|
|
375
372
|
|
|
376
373
|
### ownerIssueSessionToken()
|
|
377
374
|
|
|
378
|
-
> **ownerIssueSessionToken**(`request`): `Promise
|
|
375
|
+
> **ownerIssueSessionToken**(`request`): `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
|
|
379
376
|
|
|
380
377
|
#### Parameters
|
|
381
378
|
|
|
382
379
|
##### request
|
|
383
380
|
|
|
384
|
-
|
|
381
|
+
###### actor
|
|
382
|
+
|
|
383
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
384
|
+
|
|
385
|
+
###### rootAgentId
|
|
386
|
+
|
|
387
|
+
`string`
|
|
388
|
+
|
|
389
|
+
###### vaultId
|
|
390
|
+
|
|
391
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
385
392
|
|
|
386
393
|
#### Returns
|
|
387
394
|
|
|
388
|
-
`Promise
|
|
395
|
+
`Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
|
|
389
396
|
|
|
390
397
|
***
|
|
391
398
|
|
|
392
399
|
### ownerListAgents()
|
|
393
400
|
|
|
394
|
-
> **ownerListAgents**(`actor
|
|
401
|
+
> **ownerListAgents**(`actor`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
395
402
|
|
|
396
403
|
#### Parameters
|
|
397
404
|
|
|
398
405
|
##### actor
|
|
399
406
|
|
|
400
|
-
`VaultPrincipal` & `object`
|
|
401
|
-
|
|
402
|
-
##### request?
|
|
403
|
-
|
|
404
|
-
`Omit`\<`OwnerListAgentsRequest`, `"vaultId"` \| `"actor"`\>
|
|
407
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
405
408
|
|
|
406
409
|
#### Returns
|
|
407
410
|
|
|
408
|
-
`Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
411
|
+
`Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
409
412
|
|
|
410
413
|
***
|
|
411
414
|
|
|
412
|
-
###
|
|
415
|
+
### ownerListGrants()
|
|
413
416
|
|
|
414
|
-
> **
|
|
417
|
+
> **ownerListGrants**(`actor`, `rootAgentId?`, `secretAlias?`): `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
415
418
|
|
|
416
419
|
#### Parameters
|
|
417
420
|
|
|
418
421
|
##### actor
|
|
419
422
|
|
|
420
|
-
`VaultPrincipal` & `object`
|
|
423
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
421
424
|
|
|
422
|
-
#####
|
|
425
|
+
##### rootAgentId?
|
|
423
426
|
|
|
424
427
|
`string`
|
|
425
428
|
|
|
426
|
-
#####
|
|
429
|
+
##### secretAlias?
|
|
427
430
|
|
|
428
|
-
`
|
|
431
|
+
`string`
|
|
429
432
|
|
|
430
433
|
#### Returns
|
|
431
434
|
|
|
432
|
-
`Promise
|
|
435
|
+
`Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
433
436
|
|
|
434
437
|
***
|
|
435
438
|
|
|
436
|
-
###
|
|
439
|
+
### ownerListRequests()
|
|
437
440
|
|
|
438
|
-
> **
|
|
441
|
+
> **ownerListRequests**(`actor`, `rootAgentId?`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
|
|
439
442
|
|
|
440
443
|
#### Parameters
|
|
441
444
|
|
|
442
|
-
#####
|
|
445
|
+
##### actor
|
|
446
|
+
|
|
447
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
448
|
+
|
|
449
|
+
##### rootAgentId?
|
|
443
450
|
|
|
444
|
-
`
|
|
451
|
+
`string`
|
|
445
452
|
|
|
446
453
|
#### Returns
|
|
447
454
|
|
|
448
|
-
`Promise`\<readonly `
|
|
455
|
+
`Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
|
|
449
456
|
|
|
450
457
|
***
|
|
451
458
|
|
|
452
|
-
###
|
|
459
|
+
### ownerListSecrets()
|
|
453
460
|
|
|
454
|
-
> **
|
|
461
|
+
> **ownerListSecrets**(`actor`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
455
462
|
|
|
456
463
|
#### Parameters
|
|
457
464
|
|
|
458
465
|
##### actor
|
|
459
466
|
|
|
460
|
-
`VaultPrincipal` & `object`
|
|
461
|
-
|
|
462
|
-
##### agentId?
|
|
463
|
-
|
|
464
|
-
`string`
|
|
465
|
-
|
|
466
|
-
##### request?
|
|
467
|
-
|
|
468
|
-
`Omit`\<`OwnerListRequestsRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
|
|
467
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
469
468
|
|
|
470
469
|
#### Returns
|
|
471
470
|
|
|
472
|
-
`Promise`\<readonly `
|
|
471
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
473
472
|
|
|
474
473
|
***
|
|
475
474
|
|
|
476
|
-
###
|
|
475
|
+
### ownerOnGrantState()
|
|
477
476
|
|
|
478
|
-
> **
|
|
477
|
+
> **ownerOnGrantState**(`callback`): () => `void`
|
|
479
478
|
|
|
480
479
|
#### Parameters
|
|
481
480
|
|
|
482
|
-
#####
|
|
483
|
-
|
|
484
|
-
`VaultPrincipal` & `object`
|
|
485
|
-
|
|
486
|
-
##### request?
|
|
487
|
-
|
|
488
|
-
###### requestId?
|
|
481
|
+
##### callback
|
|
489
482
|
|
|
490
|
-
`
|
|
483
|
+
(`record`) => `void`
|
|
491
484
|
|
|
492
485
|
#### Returns
|
|
493
486
|
|
|
494
|
-
|
|
487
|
+
() => `void`
|
|
495
488
|
|
|
496
489
|
***
|
|
497
490
|
|
|
498
|
-
###
|
|
491
|
+
### ownerOnPendingDispatch()
|
|
499
492
|
|
|
500
|
-
> **
|
|
493
|
+
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
501
494
|
|
|
502
495
|
#### Parameters
|
|
503
496
|
|
|
@@ -513,25 +506,21 @@ This is the primary implementation of the Vault logic.
|
|
|
513
506
|
|
|
514
507
|
### ownerReadAudit()
|
|
515
508
|
|
|
516
|
-
> **ownerReadAudit**(`actor`, `query
|
|
509
|
+
> **ownerReadAudit**(`actor`, `query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
517
510
|
|
|
518
511
|
#### Parameters
|
|
519
512
|
|
|
520
513
|
##### actor
|
|
521
514
|
|
|
522
|
-
`VaultPrincipal` & `object`
|
|
515
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
523
516
|
|
|
524
517
|
##### query
|
|
525
518
|
|
|
526
519
|
`AuditQuery`
|
|
527
520
|
|
|
528
|
-
##### request?
|
|
529
|
-
|
|
530
|
-
`Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
|
|
531
|
-
|
|
532
521
|
#### Returns
|
|
533
522
|
|
|
534
|
-
`Promise`\<readonly `AuditEntry`[]\>
|
|
523
|
+
`Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
535
524
|
|
|
536
525
|
***
|
|
537
526
|
|
|
@@ -543,23 +532,25 @@ This is the primary implementation of the Vault logic.
|
|
|
543
532
|
|
|
544
533
|
##### command
|
|
545
534
|
|
|
546
|
-
|
|
535
|
+
###### agentRecord
|
|
547
536
|
|
|
548
|
-
|
|
537
|
+
[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
|
|
549
538
|
|
|
550
|
-
|
|
539
|
+
###### owner
|
|
551
540
|
|
|
552
|
-
|
|
541
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
553
542
|
|
|
554
|
-
|
|
543
|
+
###### requestedAt
|
|
555
544
|
|
|
556
|
-
|
|
545
|
+
`string`
|
|
557
546
|
|
|
558
|
-
|
|
547
|
+
###### requestId
|
|
559
548
|
|
|
560
|
-
|
|
549
|
+
`string`
|
|
550
|
+
|
|
551
|
+
###### vaultId
|
|
561
552
|
|
|
562
|
-
`
|
|
553
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
563
554
|
|
|
564
555
|
#### Returns
|
|
565
556
|
|
|
@@ -575,7 +566,25 @@ This is the primary implementation of the Vault logic.
|
|
|
575
566
|
|
|
576
567
|
##### command
|
|
577
568
|
|
|
578
|
-
|
|
569
|
+
###### flow
|
|
570
|
+
|
|
571
|
+
`any`
|
|
572
|
+
|
|
573
|
+
###### owner
|
|
574
|
+
|
|
575
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
576
|
+
|
|
577
|
+
###### requestedAt
|
|
578
|
+
|
|
579
|
+
`string`
|
|
580
|
+
|
|
581
|
+
###### requestId
|
|
582
|
+
|
|
583
|
+
`string`
|
|
584
|
+
|
|
585
|
+
###### vaultId
|
|
586
|
+
|
|
587
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
579
588
|
|
|
580
589
|
#### Returns
|
|
581
590
|
|
|
@@ -591,7 +600,29 @@ This is the primary implementation of the Vault logic.
|
|
|
591
600
|
|
|
592
601
|
##### command
|
|
593
602
|
|
|
594
|
-
|
|
603
|
+
###### alias
|
|
604
|
+
|
|
605
|
+
`string`
|
|
606
|
+
|
|
607
|
+
###### kind
|
|
608
|
+
|
|
609
|
+
`"owner.remove_secret"`
|
|
610
|
+
|
|
611
|
+
###### owner
|
|
612
|
+
|
|
613
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
614
|
+
|
|
615
|
+
###### requestedAt
|
|
616
|
+
|
|
617
|
+
`string`
|
|
618
|
+
|
|
619
|
+
###### requestId
|
|
620
|
+
|
|
621
|
+
`string`
|
|
622
|
+
|
|
623
|
+
###### vaultId
|
|
624
|
+
|
|
625
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
595
626
|
|
|
596
627
|
#### Returns
|
|
597
628
|
|
|
@@ -599,15 +630,59 @@ This is the primary implementation of the Vault logic.
|
|
|
599
630
|
|
|
600
631
|
***
|
|
601
632
|
|
|
602
|
-
###
|
|
633
|
+
### ownerRevokeAgentSecret()
|
|
603
634
|
|
|
604
|
-
> **
|
|
635
|
+
> **ownerRevokeAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<`void`\>
|
|
605
636
|
|
|
606
637
|
#### Parameters
|
|
607
638
|
|
|
608
|
-
#####
|
|
639
|
+
##### actor
|
|
640
|
+
|
|
641
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
642
|
+
|
|
643
|
+
##### rootAgentId
|
|
644
|
+
|
|
645
|
+
`string`
|
|
609
646
|
|
|
610
|
-
|
|
647
|
+
##### secretAlias
|
|
648
|
+
|
|
649
|
+
`string`
|
|
650
|
+
|
|
651
|
+
##### request?
|
|
652
|
+
|
|
653
|
+
###### requestId?
|
|
654
|
+
|
|
655
|
+
`string`
|
|
656
|
+
|
|
657
|
+
#### Returns
|
|
658
|
+
|
|
659
|
+
`Promise`\<`void`\>
|
|
660
|
+
|
|
661
|
+
***
|
|
662
|
+
|
|
663
|
+
### ownerRevokeSecretDestination()
|
|
664
|
+
|
|
665
|
+
> **ownerRevokeSecretDestination**(`actor`, `secretAlias`, `domain`, `request?`): `Promise`\<`void`\>
|
|
666
|
+
|
|
667
|
+
#### Parameters
|
|
668
|
+
|
|
669
|
+
##### actor
|
|
670
|
+
|
|
671
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
672
|
+
|
|
673
|
+
##### secretAlias
|
|
674
|
+
|
|
675
|
+
`string`
|
|
676
|
+
|
|
677
|
+
##### domain
|
|
678
|
+
|
|
679
|
+
`string`
|
|
680
|
+
|
|
681
|
+
##### request?
|
|
682
|
+
|
|
683
|
+
###### requestId?
|
|
684
|
+
|
|
685
|
+
`string`
|
|
611
686
|
|
|
612
687
|
#### Returns
|
|
613
688
|
|
|
@@ -625,7 +700,7 @@ This is the primary implementation of the Vault logic.
|
|
|
625
700
|
|
|
626
701
|
###### actor
|
|
627
702
|
|
|
628
|
-
`VaultPrincipal`
|
|
703
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
629
704
|
|
|
630
705
|
###### token
|
|
631
706
|
|
|
@@ -633,7 +708,7 @@ This is the primary implementation of the Vault logic.
|
|
|
633
708
|
|
|
634
709
|
###### vaultId
|
|
635
710
|
|
|
636
|
-
`VaultId`
|
|
711
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
637
712
|
|
|
638
713
|
#### Returns
|
|
639
714
|
|
|
@@ -641,41 +716,51 @@ This is the primary implementation of the Vault logic.
|
|
|
641
716
|
|
|
642
717
|
***
|
|
643
718
|
|
|
644
|
-
###
|
|
719
|
+
### ownerUpdateAgentIdentity()
|
|
645
720
|
|
|
646
|
-
> **
|
|
721
|
+
> **ownerUpdateAgentIdentity**(`command`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
|
|
647
722
|
|
|
648
723
|
#### Parameters
|
|
649
724
|
|
|
650
725
|
##### command
|
|
651
726
|
|
|
652
|
-
|
|
727
|
+
###### metadata?
|
|
653
728
|
|
|
654
|
-
|
|
729
|
+
`Record`\<`string`, `any`\>
|
|
655
730
|
|
|
656
|
-
|
|
731
|
+
###### nickname?
|
|
657
732
|
|
|
658
|
-
|
|
733
|
+
`string`
|
|
659
734
|
|
|
660
|
-
|
|
735
|
+
###### owner
|
|
661
736
|
|
|
662
|
-
|
|
737
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
663
738
|
|
|
664
|
-
|
|
739
|
+
###### requestedAt
|
|
665
740
|
|
|
666
|
-
|
|
741
|
+
`string`
|
|
742
|
+
|
|
743
|
+
###### requestId
|
|
744
|
+
|
|
745
|
+
`string`
|
|
746
|
+
|
|
747
|
+
###### rootAgentId
|
|
748
|
+
|
|
749
|
+
`string`
|
|
750
|
+
|
|
751
|
+
###### vaultId
|
|
667
752
|
|
|
668
|
-
`
|
|
753
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
669
754
|
|
|
670
755
|
#### Returns
|
|
671
756
|
|
|
672
|
-
`Promise
|
|
757
|
+
`Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
|
|
673
758
|
|
|
674
759
|
***
|
|
675
760
|
|
|
676
761
|
### ownerUpdateSecret()
|
|
677
762
|
|
|
678
|
-
> **ownerUpdateSecret**(`command`): `Promise
|
|
763
|
+
> **ownerUpdateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
679
764
|
|
|
680
765
|
#### Parameters
|
|
681
766
|
|
|
@@ -685,20 +770,20 @@ This is the primary implementation of the Vault logic.
|
|
|
685
770
|
|
|
686
771
|
#### Returns
|
|
687
772
|
|
|
688
|
-
`Promise
|
|
773
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
689
774
|
|
|
690
775
|
***
|
|
691
776
|
|
|
692
777
|
### ownerWriteSecret()
|
|
693
778
|
|
|
694
|
-
> **ownerWriteSecret**(`command`): `Promise
|
|
779
|
+
> **ownerWriteSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
695
780
|
|
|
696
781
|
#### Parameters
|
|
697
782
|
|
|
698
783
|
##### command
|
|
699
784
|
|
|
700
|
-
`
|
|
785
|
+
`any`
|
|
701
786
|
|
|
702
787
|
#### Returns
|
|
703
788
|
|
|
704
|
-
`Promise
|
|
789
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|