@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.6
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 +111 -266
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +37 -75
- 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.d.ts +1 -3
- 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 +95 -210
- package/dist/vault-core/contracts.js +8 -11
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +119 -62
- package/dist/vault-core/core.js +518 -1180
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +22 -44
- package/dist/vault-core/defaults.js +65 -234
- 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 +72 -119
- package/dist/vault-core/persistence.js +310 -427
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +19 -30
- 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 +39 -119
- package/dist/vault-ingress/index.js +98 -456
- 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 +87 -0
- package/docs/PROCESS_ISOLATION.md +2 -2
- package/docs/REFERENCE.md +42 -224
- package/docs/api/README.md +48 -30
- 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/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 +264 -237
- 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 -13
- 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 -154
- 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 -121
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
- package/docs/api/interfaces/CreateVaultOptions.md +1 -125
- package/docs/api/interfaces/CreatedVault.md +2 -2
- 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 +401 -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 -125
- 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/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 +511 -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 +47 -63
- 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/VaultRegisterFlowInput.md +0 -77
- 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.6**](../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,241 +26,197 @@ 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
|
-
###
|
|
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
|
-
### \_storeCustomFlowSecret()
|
|
37
|
+
### agentAuthorizeDispatch()
|
|
65
38
|
|
|
66
|
-
>
|
|
39
|
+
> **agentAuthorizeDispatch**(`request`): `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
|
|
67
40
|
|
|
68
41
|
#### Parameters
|
|
69
42
|
|
|
70
|
-
#####
|
|
71
|
-
|
|
72
|
-
`CustomHttpFlowDefinition`
|
|
73
|
-
|
|
74
|
-
##### alias
|
|
75
|
-
|
|
76
|
-
`string`
|
|
77
|
-
|
|
78
|
-
##### plaintext
|
|
43
|
+
##### request
|
|
79
44
|
|
|
80
|
-
`
|
|
45
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
81
46
|
|
|
82
47
|
#### Returns
|
|
83
48
|
|
|
84
|
-
`Promise
|
|
49
|
+
`Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
|
|
85
50
|
|
|
86
51
|
***
|
|
87
52
|
|
|
88
|
-
###
|
|
53
|
+
### agentDispatchSecret()
|
|
89
54
|
|
|
90
|
-
> **
|
|
55
|
+
> **agentDispatchSecret**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
91
56
|
|
|
92
57
|
#### Parameters
|
|
93
58
|
|
|
94
59
|
##### request
|
|
95
60
|
|
|
96
|
-
`DispatchRequest`
|
|
61
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
97
62
|
|
|
98
63
|
#### Returns
|
|
99
64
|
|
|
100
|
-
`Promise
|
|
65
|
+
`Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
101
66
|
|
|
102
67
|
***
|
|
103
68
|
|
|
104
|
-
###
|
|
69
|
+
### agentGetRequest()
|
|
105
70
|
|
|
106
|
-
> **
|
|
71
|
+
> **agentGetRequest**(`command`): `Promise`\<`any`\>
|
|
107
72
|
|
|
108
73
|
#### Parameters
|
|
109
74
|
|
|
110
|
-
#####
|
|
75
|
+
##### command
|
|
111
76
|
|
|
112
|
-
|
|
77
|
+
###### agent
|
|
113
78
|
|
|
114
|
-
|
|
79
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
115
80
|
|
|
116
|
-
|
|
81
|
+
###### proof
|
|
117
82
|
|
|
118
|
-
|
|
83
|
+
`any`
|
|
119
84
|
|
|
120
|
-
|
|
85
|
+
###### requestedAt
|
|
121
86
|
|
|
122
|
-
|
|
87
|
+
`string`
|
|
123
88
|
|
|
124
|
-
|
|
89
|
+
###### requestId
|
|
125
90
|
|
|
126
|
-
|
|
91
|
+
`string`
|
|
92
|
+
|
|
93
|
+
###### targetRequestId
|
|
127
94
|
|
|
128
|
-
`
|
|
95
|
+
`string`
|
|
129
96
|
|
|
130
97
|
#### Returns
|
|
131
98
|
|
|
132
|
-
`Promise`\<`
|
|
99
|
+
`Promise`\<`any`\>
|
|
133
100
|
|
|
134
101
|
***
|
|
135
102
|
|
|
136
103
|
### agentGetRuntimeManifest()
|
|
137
104
|
|
|
138
|
-
> **agentGetRuntimeManifest**(`command`): `Promise
|
|
105
|
+
> **agentGetRuntimeManifest**(`command`): `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
|
|
139
106
|
|
|
140
107
|
#### Parameters
|
|
141
108
|
|
|
142
109
|
##### command
|
|
143
110
|
|
|
144
|
-
|
|
111
|
+
###### agent
|
|
145
112
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
`Promise`\<`AgentRuntimeManifest`\>
|
|
113
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
149
114
|
|
|
150
|
-
|
|
115
|
+
###### proof
|
|
151
116
|
|
|
152
|
-
|
|
117
|
+
`any`
|
|
153
118
|
|
|
154
|
-
|
|
119
|
+
###### requestedAt
|
|
155
120
|
|
|
156
|
-
|
|
121
|
+
`string`
|
|
157
122
|
|
|
158
|
-
|
|
123
|
+
###### requestId
|
|
159
124
|
|
|
160
|
-
`
|
|
125
|
+
`string`
|
|
161
126
|
|
|
162
127
|
#### Returns
|
|
163
128
|
|
|
164
|
-
`Promise`\<
|
|
129
|
+
`Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
|
|
165
130
|
|
|
166
131
|
***
|
|
167
132
|
|
|
168
133
|
### agentListRequests()
|
|
169
134
|
|
|
170
|
-
> **agentListRequests**(`
|
|
135
|
+
> **agentListRequests**(`command`): `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
|
|
171
136
|
|
|
172
137
|
#### Parameters
|
|
173
138
|
|
|
174
|
-
#####
|
|
139
|
+
##### command
|
|
175
140
|
|
|
176
|
-
|
|
141
|
+
###### agent
|
|
177
142
|
|
|
178
|
-
|
|
143
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
179
144
|
|
|
180
|
-
|
|
145
|
+
###### proof
|
|
181
146
|
|
|
182
|
-
|
|
147
|
+
`any`
|
|
183
148
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
> **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
|
|
149
|
+
###### requestedAt
|
|
187
150
|
|
|
188
|
-
|
|
151
|
+
`string`
|
|
189
152
|
|
|
190
|
-
|
|
153
|
+
###### requestId
|
|
191
154
|
|
|
192
|
-
`
|
|
155
|
+
`string`
|
|
193
156
|
|
|
194
157
|
#### Returns
|
|
195
158
|
|
|
196
|
-
`Promise`\<readonly `
|
|
159
|
+
`Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
|
|
197
160
|
|
|
198
161
|
***
|
|
199
162
|
|
|
200
|
-
###
|
|
163
|
+
### agentListSecrets()
|
|
201
164
|
|
|
202
|
-
> **
|
|
165
|
+
> **agentListSecrets**(`command`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
203
166
|
|
|
204
167
|
#### Parameters
|
|
205
168
|
|
|
206
169
|
##### command
|
|
207
170
|
|
|
208
|
-
|
|
171
|
+
###### agent
|
|
209
172
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
`Promise`\<`CapabilityStateRecord`\>
|
|
173
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
213
174
|
|
|
214
|
-
|
|
175
|
+
###### proof
|
|
215
176
|
|
|
216
|
-
|
|
177
|
+
`any`
|
|
217
178
|
|
|
218
|
-
|
|
179
|
+
###### requestedAt
|
|
219
180
|
|
|
220
|
-
|
|
181
|
+
`string`
|
|
221
182
|
|
|
222
|
-
|
|
183
|
+
###### requestId
|
|
223
184
|
|
|
224
|
-
`
|
|
185
|
+
`string`
|
|
225
186
|
|
|
226
187
|
#### Returns
|
|
227
188
|
|
|
228
|
-
`Promise
|
|
189
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
229
190
|
|
|
230
191
|
***
|
|
231
192
|
|
|
232
|
-
###
|
|
193
|
+
### ownerApproveDispatch()
|
|
233
194
|
|
|
234
|
-
> **
|
|
195
|
+
> **ownerApproveDispatch**(`actor`, `requestId`, `decision`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
|
|
235
196
|
|
|
236
197
|
#### Parameters
|
|
237
198
|
|
|
238
|
-
#####
|
|
239
|
-
|
|
240
|
-
`OwnerAllowOnceCommand`
|
|
241
|
-
|
|
242
|
-
#### Returns
|
|
243
|
-
|
|
244
|
-
`Promise`\<`DispatchResult`\>
|
|
245
|
-
|
|
246
|
-
***
|
|
199
|
+
##### actor
|
|
247
200
|
|
|
248
|
-
|
|
201
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
249
202
|
|
|
250
|
-
|
|
203
|
+
##### requestId
|
|
251
204
|
|
|
252
|
-
|
|
205
|
+
`string`
|
|
253
206
|
|
|
254
|
-
#####
|
|
207
|
+
##### decision
|
|
255
208
|
|
|
256
|
-
`
|
|
209
|
+
[`DispatchApprovalDecision`](../type-aliases/DispatchApprovalDecision.md)
|
|
257
210
|
|
|
258
211
|
#### Returns
|
|
259
212
|
|
|
260
|
-
`Promise
|
|
213
|
+
`Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
|
|
261
214
|
|
|
262
215
|
***
|
|
263
216
|
|
|
264
217
|
### ownerCreateSecret()
|
|
265
218
|
|
|
266
|
-
> **ownerCreateSecret**(`command`): `Promise
|
|
219
|
+
> **ownerCreateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
267
220
|
|
|
268
221
|
#### Parameters
|
|
269
222
|
|
|
@@ -273,231 +226,247 @@ This is the primary implementation of the Vault logic.
|
|
|
273
226
|
|
|
274
227
|
#### Returns
|
|
275
228
|
|
|
276
|
-
`Promise
|
|
229
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
277
230
|
|
|
278
231
|
***
|
|
279
232
|
|
|
280
|
-
###
|
|
233
|
+
### ownerExportSecret()
|
|
281
234
|
|
|
282
|
-
> **
|
|
235
|
+
> **ownerExportSecret**(`actor`, `alias`): `Promise`\<`OwnerSecretExport`\>
|
|
283
236
|
|
|
284
237
|
#### Parameters
|
|
285
238
|
|
|
286
|
-
#####
|
|
239
|
+
##### actor
|
|
287
240
|
|
|
288
|
-
`
|
|
241
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
242
|
+
|
|
243
|
+
##### alias
|
|
244
|
+
|
|
245
|
+
`string`
|
|
289
246
|
|
|
290
247
|
#### Returns
|
|
291
248
|
|
|
292
|
-
`Promise`\<`
|
|
249
|
+
`Promise`\<`OwnerSecretExport`\>
|
|
293
250
|
|
|
294
251
|
***
|
|
295
252
|
|
|
296
|
-
###
|
|
253
|
+
### ownerGetRequest()
|
|
297
254
|
|
|
298
|
-
> **
|
|
255
|
+
> **ownerGetRequest**(`actor`, `requestId`): `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
|
|
299
256
|
|
|
300
257
|
#### Parameters
|
|
301
258
|
|
|
302
|
-
#####
|
|
259
|
+
##### actor
|
|
260
|
+
|
|
261
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
303
262
|
|
|
304
|
-
|
|
263
|
+
##### requestId
|
|
264
|
+
|
|
265
|
+
`string`
|
|
305
266
|
|
|
306
267
|
#### Returns
|
|
307
268
|
|
|
308
|
-
`Promise
|
|
269
|
+
`Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
|
|
309
270
|
|
|
310
271
|
***
|
|
311
272
|
|
|
312
|
-
###
|
|
273
|
+
### ownerGrantAgentSecret()
|
|
313
274
|
|
|
314
|
-
> **
|
|
275
|
+
> **ownerGrantAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
315
276
|
|
|
316
277
|
#### Parameters
|
|
317
278
|
|
|
318
279
|
##### actor
|
|
319
280
|
|
|
320
|
-
`VaultPrincipal` & `object`
|
|
281
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
321
282
|
|
|
322
|
-
#####
|
|
283
|
+
##### rootAgentId
|
|
284
|
+
|
|
285
|
+
`string`
|
|
286
|
+
|
|
287
|
+
##### secretAlias
|
|
323
288
|
|
|
324
289
|
`string`
|
|
325
290
|
|
|
326
291
|
##### request?
|
|
327
292
|
|
|
328
|
-
|
|
293
|
+
###### requestId?
|
|
294
|
+
|
|
295
|
+
`string`
|
|
329
296
|
|
|
330
297
|
#### Returns
|
|
331
298
|
|
|
332
|
-
`Promise
|
|
299
|
+
`Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
333
300
|
|
|
334
301
|
***
|
|
335
302
|
|
|
336
|
-
###
|
|
303
|
+
### ownerGrantSecretDestination()
|
|
337
304
|
|
|
338
|
-
> **
|
|
305
|
+
> **ownerGrantSecretDestination**(`actor`, `secretAlias`, `siteId`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
339
306
|
|
|
340
307
|
#### Parameters
|
|
341
308
|
|
|
342
309
|
##### actor
|
|
343
310
|
|
|
344
|
-
`VaultPrincipal` & `object`
|
|
311
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
345
312
|
|
|
346
|
-
#####
|
|
313
|
+
##### secretAlias
|
|
314
|
+
|
|
315
|
+
`string`
|
|
316
|
+
|
|
317
|
+
##### siteId
|
|
347
318
|
|
|
348
319
|
`string`
|
|
349
320
|
|
|
350
321
|
##### request?
|
|
351
322
|
|
|
352
|
-
|
|
323
|
+
###### requestId?
|
|
324
|
+
|
|
325
|
+
`string`
|
|
353
326
|
|
|
354
327
|
#### Returns
|
|
355
328
|
|
|
356
|
-
`Promise
|
|
329
|
+
`Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
357
330
|
|
|
358
331
|
***
|
|
359
332
|
|
|
360
333
|
### ownerIssueAllAgentSessionTokens()
|
|
361
334
|
|
|
362
|
-
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`
|
|
335
|
+
> **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`object`[]\>
|
|
363
336
|
|
|
364
337
|
#### Parameters
|
|
365
338
|
|
|
366
339
|
##### actor
|
|
367
340
|
|
|
368
|
-
`VaultPrincipal` & `object`
|
|
341
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
369
342
|
|
|
370
343
|
#### Returns
|
|
371
344
|
|
|
372
|
-
`Promise`\<`
|
|
345
|
+
`Promise`\<`object`[]\>
|
|
373
346
|
|
|
374
347
|
***
|
|
375
348
|
|
|
376
349
|
### ownerIssueSessionToken()
|
|
377
350
|
|
|
378
|
-
> **ownerIssueSessionToken**(`request`): `Promise
|
|
351
|
+
> **ownerIssueSessionToken**(`request`): `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
|
|
379
352
|
|
|
380
353
|
#### Parameters
|
|
381
354
|
|
|
382
355
|
##### request
|
|
383
356
|
|
|
384
|
-
|
|
357
|
+
###### actor
|
|
358
|
+
|
|
359
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
360
|
+
|
|
361
|
+
###### rootAgentId
|
|
362
|
+
|
|
363
|
+
`string`
|
|
364
|
+
|
|
365
|
+
###### vaultId
|
|
366
|
+
|
|
367
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
385
368
|
|
|
386
369
|
#### Returns
|
|
387
370
|
|
|
388
|
-
`Promise
|
|
371
|
+
`Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
|
|
389
372
|
|
|
390
373
|
***
|
|
391
374
|
|
|
392
375
|
### ownerListAgents()
|
|
393
376
|
|
|
394
|
-
> **ownerListAgents**(`actor
|
|
377
|
+
> **ownerListAgents**(`actor`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
395
378
|
|
|
396
379
|
#### Parameters
|
|
397
380
|
|
|
398
381
|
##### actor
|
|
399
382
|
|
|
400
|
-
`VaultPrincipal` & `object`
|
|
401
|
-
|
|
402
|
-
##### request?
|
|
403
|
-
|
|
404
|
-
`Omit`\<`OwnerListAgentsRequest`, `"vaultId"` \| `"actor"`\>
|
|
383
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
405
384
|
|
|
406
385
|
#### Returns
|
|
407
386
|
|
|
408
|
-
`Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
387
|
+
`Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
409
388
|
|
|
410
389
|
***
|
|
411
390
|
|
|
412
|
-
###
|
|
391
|
+
### ownerListGrants()
|
|
413
392
|
|
|
414
|
-
> **
|
|
393
|
+
> **ownerListGrants**(`actor`, `rootAgentId?`, `secretAlias?`): `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
415
394
|
|
|
416
395
|
#### Parameters
|
|
417
396
|
|
|
418
397
|
##### actor
|
|
419
398
|
|
|
420
|
-
`VaultPrincipal` & `object`
|
|
399
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
421
400
|
|
|
422
|
-
#####
|
|
401
|
+
##### rootAgentId?
|
|
423
402
|
|
|
424
403
|
`string`
|
|
425
404
|
|
|
426
|
-
#####
|
|
405
|
+
##### secretAlias?
|
|
427
406
|
|
|
428
|
-
`
|
|
407
|
+
`string`
|
|
429
408
|
|
|
430
409
|
#### Returns
|
|
431
410
|
|
|
432
|
-
`Promise
|
|
411
|
+
`Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
433
412
|
|
|
434
413
|
***
|
|
435
414
|
|
|
436
|
-
###
|
|
415
|
+
### ownerListRequests()
|
|
437
416
|
|
|
438
|
-
> **
|
|
417
|
+
> **ownerListRequests**(`actor`, `rootAgentId?`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
|
|
439
418
|
|
|
440
419
|
#### Parameters
|
|
441
420
|
|
|
442
|
-
#####
|
|
421
|
+
##### actor
|
|
443
422
|
|
|
444
|
-
`
|
|
423
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
424
|
+
|
|
425
|
+
##### rootAgentId?
|
|
426
|
+
|
|
427
|
+
`string`
|
|
445
428
|
|
|
446
429
|
#### Returns
|
|
447
430
|
|
|
448
|
-
`Promise`\<readonly `
|
|
431
|
+
`Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
|
|
449
432
|
|
|
450
433
|
***
|
|
451
434
|
|
|
452
|
-
###
|
|
435
|
+
### ownerListSecrets()
|
|
453
436
|
|
|
454
|
-
> **
|
|
437
|
+
> **ownerListSecrets**(`actor`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
455
438
|
|
|
456
439
|
#### Parameters
|
|
457
440
|
|
|
458
441
|
##### actor
|
|
459
442
|
|
|
460
|
-
`VaultPrincipal` & `object`
|
|
461
|
-
|
|
462
|
-
##### agentId?
|
|
463
|
-
|
|
464
|
-
`string`
|
|
465
|
-
|
|
466
|
-
##### request?
|
|
467
|
-
|
|
468
|
-
`Omit`\<`OwnerListRequestsRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
|
|
443
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
469
444
|
|
|
470
445
|
#### Returns
|
|
471
446
|
|
|
472
|
-
`Promise`\<readonly `
|
|
447
|
+
`Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
|
|
473
448
|
|
|
474
449
|
***
|
|
475
450
|
|
|
476
|
-
###
|
|
451
|
+
### ownerOnGrantState()
|
|
477
452
|
|
|
478
|
-
> **
|
|
453
|
+
> **ownerOnGrantState**(`callback`): () => `void`
|
|
479
454
|
|
|
480
455
|
#### Parameters
|
|
481
456
|
|
|
482
|
-
#####
|
|
483
|
-
|
|
484
|
-
`VaultPrincipal` & `object`
|
|
485
|
-
|
|
486
|
-
##### request?
|
|
487
|
-
|
|
488
|
-
###### requestId?
|
|
457
|
+
##### callback
|
|
489
458
|
|
|
490
|
-
`
|
|
459
|
+
(`record`) => `void`
|
|
491
460
|
|
|
492
461
|
#### Returns
|
|
493
462
|
|
|
494
|
-
|
|
463
|
+
() => `void`
|
|
495
464
|
|
|
496
465
|
***
|
|
497
466
|
|
|
498
|
-
###
|
|
467
|
+
### ownerOnPendingDispatch()
|
|
499
468
|
|
|
500
|
-
> **
|
|
469
|
+
> **ownerOnPendingDispatch**(`callback`): () => `void`
|
|
501
470
|
|
|
502
471
|
#### Parameters
|
|
503
472
|
|
|
@@ -513,25 +482,21 @@ This is the primary implementation of the Vault logic.
|
|
|
513
482
|
|
|
514
483
|
### ownerReadAudit()
|
|
515
484
|
|
|
516
|
-
> **ownerReadAudit**(`actor`, `query
|
|
485
|
+
> **ownerReadAudit**(`actor`, `query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
517
486
|
|
|
518
487
|
#### Parameters
|
|
519
488
|
|
|
520
489
|
##### actor
|
|
521
490
|
|
|
522
|
-
`VaultPrincipal` & `object`
|
|
491
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
523
492
|
|
|
524
493
|
##### query
|
|
525
494
|
|
|
526
495
|
`AuditQuery`
|
|
527
496
|
|
|
528
|
-
##### request?
|
|
529
|
-
|
|
530
|
-
`Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
|
|
531
|
-
|
|
532
497
|
#### Returns
|
|
533
498
|
|
|
534
|
-
`Promise`\<readonly `AuditEntry`[]\>
|
|
499
|
+
`Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
535
500
|
|
|
536
501
|
***
|
|
537
502
|
|
|
@@ -543,23 +508,25 @@ This is the primary implementation of the Vault logic.
|
|
|
543
508
|
|
|
544
509
|
##### command
|
|
545
510
|
|
|
546
|
-
|
|
511
|
+
###### agentRecord
|
|
547
512
|
|
|
548
|
-
|
|
513
|
+
[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
|
|
549
514
|
|
|
550
|
-
|
|
515
|
+
###### owner
|
|
551
516
|
|
|
552
|
-
|
|
517
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
553
518
|
|
|
554
|
-
|
|
519
|
+
###### requestedAt
|
|
555
520
|
|
|
556
|
-
|
|
521
|
+
`string`
|
|
557
522
|
|
|
558
|
-
|
|
523
|
+
###### requestId
|
|
559
524
|
|
|
560
|
-
|
|
525
|
+
`string`
|
|
561
526
|
|
|
562
|
-
|
|
527
|
+
###### vaultId
|
|
528
|
+
|
|
529
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
563
530
|
|
|
564
531
|
#### Returns
|
|
565
532
|
|
|
@@ -567,15 +534,37 @@ This is the primary implementation of the Vault logic.
|
|
|
567
534
|
|
|
568
535
|
***
|
|
569
536
|
|
|
570
|
-
###
|
|
537
|
+
### ownerRemoveSecret()
|
|
571
538
|
|
|
572
|
-
> **
|
|
539
|
+
> **ownerRemoveSecret**(`command`): `Promise`\<`void`\>
|
|
573
540
|
|
|
574
541
|
#### Parameters
|
|
575
542
|
|
|
576
543
|
##### command
|
|
577
544
|
|
|
578
|
-
|
|
545
|
+
###### alias
|
|
546
|
+
|
|
547
|
+
`string`
|
|
548
|
+
|
|
549
|
+
###### kind
|
|
550
|
+
|
|
551
|
+
`"owner.remove_secret"`
|
|
552
|
+
|
|
553
|
+
###### owner
|
|
554
|
+
|
|
555
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
556
|
+
|
|
557
|
+
###### requestedAt
|
|
558
|
+
|
|
559
|
+
`string`
|
|
560
|
+
|
|
561
|
+
###### requestId
|
|
562
|
+
|
|
563
|
+
`string`
|
|
564
|
+
|
|
565
|
+
###### vaultId
|
|
566
|
+
|
|
567
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
579
568
|
|
|
580
569
|
#### Returns
|
|
581
570
|
|
|
@@ -583,15 +572,29 @@ This is the primary implementation of the Vault logic.
|
|
|
583
572
|
|
|
584
573
|
***
|
|
585
574
|
|
|
586
|
-
###
|
|
575
|
+
### ownerRevokeAgentSecret()
|
|
587
576
|
|
|
588
|
-
> **
|
|
577
|
+
> **ownerRevokeAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<`void`\>
|
|
589
578
|
|
|
590
579
|
#### Parameters
|
|
591
580
|
|
|
592
|
-
#####
|
|
581
|
+
##### actor
|
|
582
|
+
|
|
583
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
593
584
|
|
|
594
|
-
|
|
585
|
+
##### rootAgentId
|
|
586
|
+
|
|
587
|
+
`string`
|
|
588
|
+
|
|
589
|
+
##### secretAlias
|
|
590
|
+
|
|
591
|
+
`string`
|
|
592
|
+
|
|
593
|
+
##### request?
|
|
594
|
+
|
|
595
|
+
###### requestId?
|
|
596
|
+
|
|
597
|
+
`string`
|
|
595
598
|
|
|
596
599
|
#### Returns
|
|
597
600
|
|
|
@@ -599,15 +602,29 @@ This is the primary implementation of the Vault logic.
|
|
|
599
602
|
|
|
600
603
|
***
|
|
601
604
|
|
|
602
|
-
###
|
|
605
|
+
### ownerRevokeSecretDestination()
|
|
603
606
|
|
|
604
|
-
> **
|
|
607
|
+
> **ownerRevokeSecretDestination**(`actor`, `secretAlias`, `siteId`, `request?`): `Promise`\<`void`\>
|
|
605
608
|
|
|
606
609
|
#### Parameters
|
|
607
610
|
|
|
608
|
-
#####
|
|
611
|
+
##### actor
|
|
612
|
+
|
|
613
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
609
614
|
|
|
610
|
-
|
|
615
|
+
##### secretAlias
|
|
616
|
+
|
|
617
|
+
`string`
|
|
618
|
+
|
|
619
|
+
##### siteId
|
|
620
|
+
|
|
621
|
+
`string`
|
|
622
|
+
|
|
623
|
+
##### request?
|
|
624
|
+
|
|
625
|
+
###### requestId?
|
|
626
|
+
|
|
627
|
+
`string`
|
|
611
628
|
|
|
612
629
|
#### Returns
|
|
613
630
|
|
|
@@ -625,7 +642,7 @@ This is the primary implementation of the Vault logic.
|
|
|
625
642
|
|
|
626
643
|
###### actor
|
|
627
644
|
|
|
628
|
-
`VaultPrincipal`
|
|
645
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
629
646
|
|
|
630
647
|
###### token
|
|
631
648
|
|
|
@@ -633,7 +650,7 @@ This is the primary implementation of the Vault logic.
|
|
|
633
650
|
|
|
634
651
|
###### vaultId
|
|
635
652
|
|
|
636
|
-
`VaultId`
|
|
653
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
637
654
|
|
|
638
655
|
#### Returns
|
|
639
656
|
|
|
@@ -641,41 +658,51 @@ This is the primary implementation of the Vault logic.
|
|
|
641
658
|
|
|
642
659
|
***
|
|
643
660
|
|
|
644
|
-
###
|
|
661
|
+
### ownerUpdateAgentIdentity()
|
|
645
662
|
|
|
646
|
-
> **
|
|
663
|
+
> **ownerUpdateAgentIdentity**(`command`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
|
|
647
664
|
|
|
648
665
|
#### Parameters
|
|
649
666
|
|
|
650
667
|
##### command
|
|
651
668
|
|
|
652
|
-
|
|
669
|
+
###### metadata?
|
|
653
670
|
|
|
654
|
-
|
|
671
|
+
`Record`\<`string`, `any`\>
|
|
655
672
|
|
|
656
|
-
|
|
673
|
+
###### nickname?
|
|
657
674
|
|
|
658
|
-
|
|
675
|
+
`string`
|
|
659
676
|
|
|
660
|
-
|
|
677
|
+
###### owner
|
|
661
678
|
|
|
662
|
-
|
|
679
|
+
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
663
680
|
|
|
664
|
-
|
|
681
|
+
###### requestedAt
|
|
665
682
|
|
|
666
|
-
|
|
683
|
+
`string`
|
|
684
|
+
|
|
685
|
+
###### requestId
|
|
686
|
+
|
|
687
|
+
`string`
|
|
688
|
+
|
|
689
|
+
###### rootAgentId
|
|
690
|
+
|
|
691
|
+
`string`
|
|
692
|
+
|
|
693
|
+
###### vaultId
|
|
667
694
|
|
|
668
|
-
`
|
|
695
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
669
696
|
|
|
670
697
|
#### Returns
|
|
671
698
|
|
|
672
|
-
`Promise
|
|
699
|
+
`Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
|
|
673
700
|
|
|
674
701
|
***
|
|
675
702
|
|
|
676
703
|
### ownerUpdateSecret()
|
|
677
704
|
|
|
678
|
-
> **ownerUpdateSecret**(`command`): `Promise
|
|
705
|
+
> **ownerUpdateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
679
706
|
|
|
680
707
|
#### Parameters
|
|
681
708
|
|
|
@@ -685,20 +712,20 @@ This is the primary implementation of the Vault logic.
|
|
|
685
712
|
|
|
686
713
|
#### Returns
|
|
687
714
|
|
|
688
|
-
`Promise
|
|
715
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
689
716
|
|
|
690
717
|
***
|
|
691
718
|
|
|
692
719
|
### ownerWriteSecret()
|
|
693
720
|
|
|
694
|
-
> **ownerWriteSecret**(`command`): `Promise
|
|
721
|
+
> **ownerWriteSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
695
722
|
|
|
696
723
|
#### Parameters
|
|
697
724
|
|
|
698
725
|
##### command
|
|
699
726
|
|
|
700
|
-
`
|
|
727
|
+
`any`
|
|
701
728
|
|
|
702
729
|
#### Returns
|
|
703
730
|
|
|
704
|
-
`Promise
|
|
731
|
+
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|