@the-ai-company/cbio-node-runtime 1.63.7 → 1.63.8
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 +2 -2
- package/dist/clients/agent/client.d.ts +2 -2
- package/dist/clients/agent/client.js +46 -49
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +5 -5
- package/dist/clients/owner/client.js +169 -176
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +45 -48
- package/dist/protocol/childSecretNaming.d.ts +1 -1
- package/dist/protocol/childSecretNaming.js +2 -2
- package/dist/protocol/childSecretNaming.js.map +1 -1
- package/dist/protocol/crypto.d.ts +4 -4
- package/dist/protocol/crypto.js +14 -14
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/protocol/identity.d.ts +2 -2
- package/dist/protocol/identity.js +4 -4
- package/dist/protocol/identity.js.map +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.js +1 -1
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +6 -6
- package/dist/runtime/bootstrap.js +26 -26
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +6 -6
- package/dist/runtime/identity.js +14 -12
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +1 -5
- package/dist/runtime/owner-session.js +4 -5
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/runtime/vault-metadata.d.ts +2 -2
- package/dist/runtime/vault-metadata.js +2 -2
- package/dist/runtime/vault-metadata.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +235 -238
- package/dist/vault-core/contracts.js +25 -34
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +41 -41
- package/dist/vault-core/core.js +257 -255
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +25 -25
- package/dist/vault-core/defaults.js +95 -95
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +2 -2
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +19 -19
- package/dist/vault-core/persistence.js +78 -67
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +23 -23
- package/dist/vault-core/tool-metadata.js +6 -6
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +2 -2
- package/dist/vault-ingress/defaults.js +10 -10
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +46 -46
- package/dist/vault-ingress/index.js +34 -34
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +2 -2
- package/dist/vault-ingress/remote-transport.js +27 -27
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/CUSTODY_MODEL.md +3 -3
- package/docs/IDENTITY_MODEL.md +4 -4
- package/docs/REFERENCE.md +1 -1
- package/docs/api/README.md +3 -4
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +6 -6
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +12 -12
- package/docs/api/classes/PersistentVaultAuditLog.md +1 -1
- package/docs/api/classes/PersistentVaultSecretCustody.md +7 -7
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +12 -12
- package/docs/api/classes/PersistentVaultSecretRepository.md +7 -7
- package/docs/api/classes/VaultCore.md +53 -53
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditOperation.md +137 -0
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createOwnerSession.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -3
- 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 +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +3 -3
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +4 -4
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- 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 +3 -3
- package/docs/api/functions/recoverVault.md +4 -4
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +3 -3
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +3 -3
- package/docs/api/interfaces/AgentClient.md +3 -3
- package/docs/api/interfaces/AgentDispatchIntent.md +7 -7
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +3 -3
- package/docs/api/interfaces/AgentIdentityRecord.md +11 -11
- package/docs/api/interfaces/AgentRequestResult.md +9 -9
- package/docs/api/interfaces/AgentRuntimeManifest.md +13 -13
- package/docs/api/interfaces/AgentSecretGrant.md +11 -11
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +13 -13
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +13 -13
- package/docs/api/interfaces/AuditEntry.md +45 -25
- package/docs/api/interfaces/CbioRuntime.md +10 -10
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +3 -13
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +4 -10
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -3
- package/docs/api/interfaces/CreateVaultOptions.md +2 -2
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +9 -9
- package/docs/api/interfaces/DispatchAuthorization.md +11 -11
- package/docs/api/interfaces/DispatchInstruction.md +9 -9
- package/docs/api/interfaces/DispatchRequest.md +11 -11
- package/docs/api/interfaces/DispatchResult.md +11 -11
- 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 +3 -3
- package/docs/api/interfaces/OwnerClient.md +5 -5
- package/docs/api/interfaces/OwnerCreateSecretInput.md +3 -3
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +3 -3
- package/docs/api/interfaces/OwnerRequestRecord.md +19 -19
- 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 +3 -3
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +21 -21
- package/docs/api/interfaces/RecoverVaultOptions.md +4 -4
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +19 -19
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +11 -11
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +13 -13
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +5 -5
- package/docs/api/interfaces/VaultAuditQueryInput.md +7 -7
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +5 -5
- package/docs/api/interfaces/VaultCreateAgentInput.md +3 -3
- package/docs/api/interfaces/VaultExportSecretInput.md +3 -3
- package/docs/api/interfaces/VaultGetRequestInput.md +5 -5
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +7 -7
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +7 -7
- package/docs/api/interfaces/VaultId.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +5 -5
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
- package/docs/api/interfaces/VaultListAgentsInput.md +3 -3
- package/docs/api/interfaces/VaultListGrantsInput.md +7 -7
- package/docs/api/interfaces/VaultListRequestsInput.md +5 -5
- package/docs/api/interfaces/VaultListSecretsInput.md +3 -3
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +5 -5
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +3 -3
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +8 -8
- package/docs/api/interfaces/VaultUpdateAgentInput.md +5 -5
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/zh/README.md +1 -1
- package/examples/process-isolation.ts +21 -21
- package/package.json +2 -2
- package/docs/api/enumerations/AuditAction.md +0 -143
- package/docs/api/enumerations/AuditOutcome.md +0 -35
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Enumeration: AuditOperation
|
|
6
|
+
|
|
7
|
+
## Enumeration Members
|
|
8
|
+
|
|
9
|
+
### DISPATCH\_APPROVE
|
|
10
|
+
|
|
11
|
+
> **DISPATCH\_APPROVE**: `"dispatch.approve"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### DISPATCH\_HOLD
|
|
16
|
+
|
|
17
|
+
> **DISPATCH\_HOLD**: `"dispatch.pending_approval"`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### DISPATCH\_REJECT
|
|
22
|
+
|
|
23
|
+
> **DISPATCH\_REJECT**: `"dispatch.reject"`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### GRANT\_DESTINATION
|
|
28
|
+
|
|
29
|
+
> **GRANT\_DESTINATION**: `"grant.grant_destination"`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### GRANT\_SECRET
|
|
34
|
+
|
|
35
|
+
> **GRANT\_SECRET**: `"grant.grant_secret"`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### IDENTITY\_ISSUE\_TOKEN
|
|
40
|
+
|
|
41
|
+
> **IDENTITY\_ISSUE\_TOKEN**: `"identity.issue_token"`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### IDENTITY\_REGISTER
|
|
46
|
+
|
|
47
|
+
> **IDENTITY\_REGISTER**: `"identity.register"`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### IDENTITY\_REVOKE\_TOKEN
|
|
52
|
+
|
|
53
|
+
> **IDENTITY\_REVOKE\_TOKEN**: `"identity.revoke_token"`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### IDENTITY\_UPDATE
|
|
58
|
+
|
|
59
|
+
> **IDENTITY\_UPDATE**: `"identity.update"`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### MANAGEMENT\_LIST\_AGENTS
|
|
64
|
+
|
|
65
|
+
> **MANAGEMENT\_LIST\_AGENTS**: `"management.list_agents"`
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### MANAGEMENT\_LIST\_GRANTS
|
|
70
|
+
|
|
71
|
+
> **MANAGEMENT\_LIST\_GRANTS**: `"management.list_grants"`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### MANAGEMENT\_LIST\_REQUESTS
|
|
76
|
+
|
|
77
|
+
> **MANAGEMENT\_LIST\_REQUESTS**: `"management.list_requests"`
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### MANAGEMENT\_LIST\_SECRETS
|
|
82
|
+
|
|
83
|
+
> **MANAGEMENT\_LIST\_SECRETS**: `"management.list_secrets"`
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### MANAGEMENT\_READ\_AUDIT
|
|
88
|
+
|
|
89
|
+
> **MANAGEMENT\_READ\_AUDIT**: `"management.read_audit"`
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
### MANAGEMENT\_READ\_REQUEST
|
|
94
|
+
|
|
95
|
+
> **MANAGEMENT\_READ\_REQUEST**: `"management.read_request"`
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### POLICY\_EVALUATE
|
|
100
|
+
|
|
101
|
+
> **POLICY\_EVALUATE**: `"policy.evaluate_dispatch"`
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### REVOKE\_DESTINATION
|
|
106
|
+
|
|
107
|
+
> **REVOKE\_DESTINATION**: `"grant.revoke_destination"`
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### REVOKE\_SECRET
|
|
112
|
+
|
|
113
|
+
> **REVOKE\_SECRET**: `"grant.revoke_secret"`
|
|
114
|
+
|
|
115
|
+
***
|
|
116
|
+
|
|
117
|
+
### SECRET\_DELETE
|
|
118
|
+
|
|
119
|
+
> **SECRET\_DELETE**: `"secret.delete"`
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### SECRET\_DISPATCH
|
|
124
|
+
|
|
125
|
+
> **SECRET\_DISPATCH**: `"secret.dispatch"`
|
|
126
|
+
|
|
127
|
+
***
|
|
128
|
+
|
|
129
|
+
### SECRET\_EXPORT
|
|
130
|
+
|
|
131
|
+
> **SECRET\_EXPORT**: `"secret.export"`
|
|
132
|
+
|
|
133
|
+
***
|
|
134
|
+
|
|
135
|
+
### SECRET\_WRITE
|
|
136
|
+
|
|
137
|
+
> **SECRET\_WRITE**: `"secret.write"`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -26,5 +26,5 @@ A CreatedIdentity containing the ID and keys.
|
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
28
|
const identity = createIdentity({ nickname: 'my-agent' });
|
|
29
|
-
console.log(identity.
|
|
29
|
+
console.log(identity.root_agent_id);
|
|
30
30
|
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: createPersistentVaultCoreDependencies()
|
|
6
6
|
|
|
7
|
-
> **createPersistentVaultCoreDependencies**(`storage`, `options`): `
|
|
7
|
+
> **createPersistentVaultCoreDependencies**(`storage`, `options`): `VaultCoreDependencies`
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`VaultCoreDependencies`
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: deriveRootAgentId()
|
|
6
6
|
|
|
7
|
-
> **deriveRootAgentId**(`
|
|
7
|
+
> **deriveRootAgentId**(`public_key`): `string`
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### public\_key
|
|
12
12
|
|
|
13
13
|
`string`
|
|
14
14
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: deriveVaultWorkingKeyFromPassword()
|
|
6
6
|
|
|
7
|
-
> **deriveVaultWorkingKeyFromPassword**(`password`, `
|
|
7
|
+
> **deriveVaultWorkingKeyFromPassword**(`password`, `vault_id`): `string`
|
|
8
8
|
|
|
9
|
-
Derives a 256-bit working key from a user password and salt (
|
|
9
|
+
Derives a 256-bit working key from a user password and salt (vault_id).
|
|
10
10
|
Using scrypt for memory-hard key derivation to resist brute-force attacks.
|
|
11
11
|
|
|
12
12
|
## Parameters
|
|
@@ -15,7 +15,7 @@ Using scrypt for memory-hard key derivation to resist brute-force attacks.
|
|
|
15
15
|
|
|
16
16
|
`string`
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### vault\_id
|
|
19
19
|
|
|
20
20
|
`string`
|
|
21
21
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: readVaultProfile()
|
|
6
6
|
|
|
7
|
-
> **readVaultProfile**(`storage`, `vaultWorkingKey`, `
|
|
7
|
+
> **readVaultProfile**(`storage`, `vaultWorkingKey`, `_vault_id`): `Promise`\<[`VaultProfile`](../interfaces/VaultProfile.md) \| `null`\>
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
`string`
|
|
18
18
|
|
|
19
|
-
### \
|
|
19
|
+
### \_vault\_id
|
|
20
20
|
|
|
21
21
|
`string`
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ Workspace storage where the vault was created.
|
|
|
22
22
|
|
|
23
23
|
[`RecoverVaultOptions`](../interfaces/RecoverVaultOptions.md)
|
|
24
24
|
|
|
25
|
-
Recovery options (must include `
|
|
25
|
+
Recovery options (must include `vault_id` and `password`).
|
|
26
26
|
|
|
27
27
|
### Returns
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ A [RecoveredVault](../interfaces/RecoveredVault.md) instance.
|
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
36
|
const vault = await recoverVault({
|
|
37
|
-
|
|
37
|
+
vault_id: 'vault_123',
|
|
38
38
|
password: 'my-strong-password'
|
|
39
39
|
});
|
|
40
40
|
```
|
|
@@ -51,7 +51,7 @@ Recovers an existing vault using the default workspace storage.
|
|
|
51
51
|
|
|
52
52
|
[`RecoverVaultOptions`](../interfaces/RecoverVaultOptions.md)
|
|
53
53
|
|
|
54
|
-
Recovery options including
|
|
54
|
+
Recovery options including vault_id and password.
|
|
55
55
|
|
|
56
56
|
### Returns
|
|
57
57
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: restoreIdentity()
|
|
6
6
|
|
|
7
|
-
> **restoreIdentity**(`
|
|
7
|
+
> **restoreIdentity**(`private_key`, `options?`): `CreatedIdentity`
|
|
8
8
|
|
|
9
9
|
Restores an identity from an existing private key.
|
|
10
10
|
|
|
11
11
|
## Parameters
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### private\_key
|
|
14
14
|
|
|
15
15
|
`string`
|
|
16
16
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: writeVaultProfile()
|
|
6
6
|
|
|
7
|
-
> **writeVaultProfile**(`storage`, `profile`, `vaultWorkingKey`, `
|
|
7
|
+
> **writeVaultProfile**(`storage`, `profile`, `vaultWorkingKey`, `_vault_id`): `Promise`\<`void`\>
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
`string`
|
|
22
22
|
|
|
23
|
-
### \
|
|
23
|
+
### \_vault\_id
|
|
24
24
|
|
|
25
25
|
`string`
|
|
26
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -32,13 +32,13 @@ If the grant is missing, it will return a PENDING status.
|
|
|
32
32
|
|
|
33
33
|
### agentGetRequest()
|
|
34
34
|
|
|
35
|
-
> **agentGetRequest**(`
|
|
35
|
+
> **agentGetRequest**(`request_id`): `Promise`\<[`AgentRequestResult`](AgentRequestResult.md)\>
|
|
36
36
|
|
|
37
37
|
Get details of a specific request.
|
|
38
38
|
|
|
39
39
|
#### Parameters
|
|
40
40
|
|
|
41
|
-
#####
|
|
41
|
+
##### request\_id
|
|
42
42
|
|
|
43
43
|
`string`
|
|
44
44
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### requested\_at?
|
|
34
34
|
|
|
35
|
-
> `optional` **
|
|
35
|
+
> `optional` **requested\_at?**: `string`
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### secret\_alias?
|
|
40
40
|
|
|
41
|
-
> `optional` **
|
|
41
|
+
> `optional` **secret\_alias?**: `string`
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
|
-
###
|
|
45
|
+
### target\_url
|
|
46
46
|
|
|
47
|
-
> **
|
|
47
|
+
> **target\_url**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### root\_agent\_id
|
|
10
10
|
|
|
11
|
-
> **
|
|
11
|
+
> **root\_agent\_id**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -18,30 +18,30 @@
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### private\_key?
|
|
22
22
|
|
|
23
|
-
> `optional` **
|
|
23
|
+
> `optional` **private\_key?**: `string`
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
|
-
###
|
|
27
|
+
### public\_key
|
|
28
28
|
|
|
29
|
-
> **
|
|
29
|
+
> **public\_key**: `string`
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### root\_agent\_id
|
|
34
34
|
|
|
35
|
-
> **
|
|
35
|
+
> **root\_agent\_id**: `string`
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### session\_tokens?
|
|
40
40
|
|
|
41
|
-
> `optional` **
|
|
41
|
+
> `optional` **session\_tokens?**: readonly `StoredSessionToken`[]
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
|
-
###
|
|
45
|
+
### vault\_id
|
|
46
46
|
|
|
47
|
-
> **
|
|
47
|
+
> **vault\_id**: [`VaultId`](VaultId.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,24 +12,24 @@
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### execution\_status
|
|
16
16
|
|
|
17
|
-
> **
|
|
17
|
+
> **execution\_status**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### request\_id
|
|
22
22
|
|
|
23
|
-
> **
|
|
23
|
+
> **request\_id**: `string`
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
|
-
###
|
|
27
|
+
### response\_body?
|
|
28
28
|
|
|
29
|
-
> `optional` **
|
|
29
|
+
> `optional` **response\_body?**: `string`
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### response\_status?
|
|
34
34
|
|
|
35
|
-
> `optional` **
|
|
35
|
+
> `optional` **response\_status?**: `number`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.63.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.63.8**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
|
|
17
17
|
> **grants**: `object`
|
|
18
18
|
|
|
19
|
-
####
|
|
19
|
+
#### agent\_secrets
|
|
20
20
|
|
|
21
|
-
> **
|
|
21
|
+
> **agent\_secrets**: readonly [`AgentSecretGrant`](AgentSecretGrant.md)[]
|
|
22
22
|
|
|
23
|
-
####
|
|
23
|
+
#### secret\_destinations
|
|
24
24
|
|
|
25
|
-
> **
|
|
25
|
+
> **secret\_destinations**: readonly [`SecretDestinationGrant`](SecretDestinationGrant.md)[]
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### issued\_at
|
|
30
30
|
|
|
31
|
-
> **
|
|
31
|
+
> **issued\_at**: `string`
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### root\_agent\_id
|
|
36
36
|
|
|
37
|
-
> **
|
|
37
|
+
> **root\_agent\_id**: `string`
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
###
|
|
47
|
+
### vault\_id
|
|
48
48
|
|
|
49
|
-
> **
|
|
49
|
+
> **vault\_id**: `string`
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### vault\_nickname?
|
|
54
54
|
|
|
55
|
-
> `optional` **
|
|
55
|
+
> `optional` **vault\_nickname?**: `string`
|