@the-ai-company/cbio-node-runtime 1.72.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -35
- package/dist/clients/agent/client.d.ts +7 -6
- package/dist/clients/agent/client.js +32 -16
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +9 -4
- package/dist/clients/agent/index.d.ts +1 -1
- package/dist/clients/owner/client.js +19 -19
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +2 -2
- package/dist/public-types.d.ts +3 -3
- package/dist/public-types.js +1 -1
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.js +30 -14
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/index.d.ts +3 -3
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/storage/prefix.d.ts +1 -1
- package/dist/storage/prefix.js +2 -2
- package/dist/storage/prefix.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +30 -142
- package/dist/vault-core/contracts.js +0 -20
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +17 -9
- package/dist/vault-core/core.js +85 -225
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +2 -4
- package/dist/vault-core/defaults.js +50 -47
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +2 -2
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +2 -4
- package/dist/vault-core/persistence.js +82 -85
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +2 -4
- package/dist/vault-ingress/defaults.d.ts +3 -2
- package/dist/vault-ingress/defaults.js +6 -3
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +14 -5
- package/dist/vault-ingress/index.js +23 -29
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +3 -2
- package/dist/vault-ingress/remote-transport.js +19 -7
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/dist/vault-ingress/server-utils.d.ts +1 -2
- package/dist/vault-ingress/server-utils.js +1 -1
- package/dist/vault-ingress/server-utils.js.map +1 -1
- package/docs/ARCHITECTURE.md +16 -14
- package/docs/REFERENCE.md +20 -37
- package/docs/api/README.md +6 -9
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +3 -3
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +6 -6
- package/docs/api/classes/PersistentVaultAuditLog.md +2 -2
- package/docs/api/classes/PersistentVaultSecretCustody.md +4 -4
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +7 -7
- package/docs/api/classes/PersistentVaultSecretRepository.md +4 -6
- package/docs/api/classes/VaultCore.md +55 -21
- package/docs/api/classes/VaultCoreError.md +1 -1
- 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 -3
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- 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 +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultAuditSse.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/handleVaultPendingDispatchSse.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/openOwnerSession.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentAuditTestPingInput.md +17 -0
- package/docs/api/interfaces/AgentClient.md +23 -5
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +21 -5
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentIdentityRecord.md +2 -2
- package/docs/api/interfaces/AgentRequestRecord.md +93 -11
- package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
- package/docs/api/interfaces/AgentSecretGrant.md +3 -3
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +9 -59
- package/docs/api/interfaces/CbioRuntime.md +1 -3
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/DispatchAuthorization.md +3 -3
- package/docs/api/interfaces/DispatchInstruction.md +3 -3
- package/docs/api/interfaces/DispatchRequest.md +4 -4
- package/docs/api/interfaces/DispatchResult.md +2 -2
- 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/OpenOwnerSessionOptions.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerAuditSubscription.md +3 -3
- package/docs/api/interfaces/OwnerClient.md +5 -5
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerPendingDispatchSubscription.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +73 -11
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +1 -1
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/PendingDispatchEvent.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +8 -7
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +3 -3
- package/docs/api/interfaces/SecretRecord.md +7 -7
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
- package/docs/api/interfaces/VaultListRequestsInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- 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 +1 -1
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +28 -12
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/AgentRequestResult.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/SecretAlias.md +7 -0
- package/docs/api/type-aliases/SecretId.md +7 -0
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultId.md +7 -0
- 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 +33 -66
- package/package.json +1 -1
- package/docs/api/enumerations/AuditOperation.md +0 -107
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +0 -59
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +0 -65
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +0 -79
- package/docs/api/interfaces/SecretAlias.md +0 -11
- package/docs/api/interfaces/SecretId.md +0 -11
- package/docs/api/interfaces/VaultId.md +0 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -11,6 +11,24 @@ the secret lifecycle inside the vault.
|
|
|
11
11
|
|
|
12
12
|
## Methods
|
|
13
13
|
|
|
14
|
+
### agentAuditTestPing()
|
|
15
|
+
|
|
16
|
+
> **agentAuditTestPing**(`input?`): `Promise`\<[`AuditEntry`](AuditEntry.md)\>
|
|
17
|
+
|
|
18
|
+
Emits a deterministic audit test event for validating audit subscriptions.
|
|
19
|
+
|
|
20
|
+
#### Parameters
|
|
21
|
+
|
|
22
|
+
##### input?
|
|
23
|
+
|
|
24
|
+
[`AgentAuditTestPingInput`](AgentAuditTestPingInput.md)
|
|
25
|
+
|
|
26
|
+
#### Returns
|
|
27
|
+
|
|
28
|
+
`Promise`\<[`AuditEntry`](AuditEntry.md)\>
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
14
32
|
### agentDispatch()
|
|
15
33
|
|
|
16
34
|
> **agentDispatch**(`intent`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
@@ -62,22 +80,22 @@ Introspects the current runtime environment, providing identity, grants, and a t
|
|
|
62
80
|
|
|
63
81
|
### agentListRequests()
|
|
64
82
|
|
|
65
|
-
> **agentListRequests**(): `Promise`\<readonly [`
|
|
83
|
+
> **agentListRequests**(): `Promise`\<readonly [`AgentRequestRecord`](AgentRequestRecord.md)[]\>
|
|
66
84
|
|
|
67
85
|
List previous requests sent by this agent.
|
|
68
86
|
|
|
69
87
|
#### Returns
|
|
70
88
|
|
|
71
|
-
`Promise`\<readonly [`
|
|
89
|
+
`Promise`\<readonly [`AgentRequestRecord`](AgentRequestRecord.md)[]\>
|
|
72
90
|
|
|
73
91
|
***
|
|
74
92
|
|
|
75
93
|
### agentListSecrets()
|
|
76
94
|
|
|
77
|
-
> **agentListSecrets**(): `Promise`\<readonly [`
|
|
95
|
+
> **agentListSecrets**(): `Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
78
96
|
|
|
79
97
|
List secrets the agent can see, including whether they are granted or not.
|
|
80
98
|
|
|
81
99
|
#### Returns
|
|
82
100
|
|
|
83
|
-
`Promise`\<readonly [`
|
|
101
|
+
`Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
## Methods
|
|
8
8
|
|
|
9
|
+
### agentAuditTestPing()
|
|
10
|
+
|
|
11
|
+
> **agentAuditTestPing**(`request`): `Promise`\<[`AuditEntry`](AuditEntry.md)\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### request
|
|
16
|
+
|
|
17
|
+
`AgentAuditTestPingRequest`
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`Promise`\<[`AuditEntry`](AuditEntry.md)\>
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
9
25
|
### agentDispatch()
|
|
10
26
|
|
|
11
27
|
> **agentDispatch**(`request`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
@@ -56,7 +72,7 @@
|
|
|
56
72
|
|
|
57
73
|
### agentListRequests()
|
|
58
74
|
|
|
59
|
-
> **agentListRequests**(`request`): `Promise`\<readonly [`
|
|
75
|
+
> **agentListRequests**(`request`): `Promise`\<readonly [`AgentRequestRecord`](AgentRequestRecord.md)[]\>
|
|
60
76
|
|
|
61
77
|
#### Parameters
|
|
62
78
|
|
|
@@ -66,13 +82,13 @@
|
|
|
66
82
|
|
|
67
83
|
#### Returns
|
|
68
84
|
|
|
69
|
-
`Promise`\<readonly [`
|
|
85
|
+
`Promise`\<readonly [`AgentRequestRecord`](AgentRequestRecord.md)[]\>
|
|
70
86
|
|
|
71
87
|
***
|
|
72
88
|
|
|
73
89
|
### agentListSecrets()
|
|
74
90
|
|
|
75
|
-
> **agentListSecrets**(`request`): `Promise`\<readonly [`
|
|
91
|
+
> **agentListSecrets**(`request`): `Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
76
92
|
|
|
77
93
|
#### Parameters
|
|
78
94
|
|
|
@@ -82,4 +98,4 @@
|
|
|
82
98
|
|
|
83
99
|
#### Returns
|
|
84
100
|
|
|
85
|
-
`Promise`\<readonly [`
|
|
101
|
+
`Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
@@ -1,20 +1,72 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Interface: AgentRequestRecord
|
|
6
6
|
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- [`RequestRecord`](RequestRecord.md)
|
|
10
|
+
|
|
7
11
|
## Properties
|
|
8
12
|
|
|
9
13
|
### created\_at
|
|
10
14
|
|
|
11
15
|
> **created\_at**: `string`
|
|
12
16
|
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`RequestRecord`](RequestRecord.md).[`created_at`](RequestRecord.md#created_at)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### execution
|
|
24
|
+
|
|
25
|
+
> **execution**: `object`
|
|
26
|
+
|
|
27
|
+
#### status
|
|
28
|
+
|
|
29
|
+
> **status**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
30
|
+
|
|
31
|
+
#### Inherited from
|
|
32
|
+
|
|
33
|
+
[`RequestRecord`](RequestRecord.md).[`execution`](RequestRecord.md#execution)
|
|
34
|
+
|
|
13
35
|
***
|
|
14
36
|
|
|
15
|
-
###
|
|
37
|
+
### missing\_grants?
|
|
38
|
+
|
|
39
|
+
> `optional` **missing\_grants?**: `object`
|
|
40
|
+
|
|
41
|
+
#### agent\_secret?
|
|
42
|
+
|
|
43
|
+
> `optional` **agent\_secret?**: `boolean`
|
|
44
|
+
|
|
45
|
+
#### secret\_destination?
|
|
46
|
+
|
|
47
|
+
> `optional` **secret\_destination?**: `boolean`
|
|
48
|
+
|
|
49
|
+
#### Inherited from
|
|
50
|
+
|
|
51
|
+
[`RequestRecord`](RequestRecord.md).[`missing_grants`](RequestRecord.md#missing_grants)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### pending\_dispatch\_event?
|
|
56
|
+
|
|
57
|
+
> `optional` **pending\_dispatch\_event?**: `object`
|
|
58
|
+
|
|
59
|
+
#### emitted\_at
|
|
16
60
|
|
|
17
|
-
> **
|
|
61
|
+
> **emitted\_at**: `string`
|
|
62
|
+
|
|
63
|
+
#### event\_id
|
|
64
|
+
|
|
65
|
+
> **event\_id**: `string`
|
|
66
|
+
|
|
67
|
+
#### Inherited from
|
|
68
|
+
|
|
69
|
+
[`RequestRecord`](RequestRecord.md).[`pending_dispatch_event`](RequestRecord.md#pending_dispatch_event)
|
|
18
70
|
|
|
19
71
|
***
|
|
20
72
|
|
|
@@ -22,6 +74,10 @@
|
|
|
22
74
|
|
|
23
75
|
> **reason**: `string`
|
|
24
76
|
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
[`RequestRecord`](RequestRecord.md).[`reason`](RequestRecord.md#reason)
|
|
80
|
+
|
|
25
81
|
***
|
|
26
82
|
|
|
27
83
|
### request
|
|
@@ -40,30 +96,38 @@
|
|
|
40
96
|
|
|
41
97
|
> **method**: `string`
|
|
42
98
|
|
|
43
|
-
#### secret\
|
|
99
|
+
#### secret\_id
|
|
44
100
|
|
|
45
|
-
>
|
|
46
|
-
|
|
47
|
-
#### secret\_id?
|
|
48
|
-
|
|
49
|
-
> `optional` **secret\_id?**: [`SecretId`](SecretId.md)
|
|
101
|
+
> **secret\_id**: `string` \| `null`
|
|
50
102
|
|
|
51
103
|
#### target\_url
|
|
52
104
|
|
|
53
105
|
> **target\_url**: `string`
|
|
54
106
|
|
|
107
|
+
#### Inherited from
|
|
108
|
+
|
|
109
|
+
[`RequestRecord`](RequestRecord.md).[`request`](RequestRecord.md#request)
|
|
110
|
+
|
|
55
111
|
***
|
|
56
112
|
|
|
57
113
|
### request\_id
|
|
58
114
|
|
|
59
115
|
> **request\_id**: `string`
|
|
60
116
|
|
|
117
|
+
#### Inherited from
|
|
118
|
+
|
|
119
|
+
[`RequestRecord`](RequestRecord.md).[`request_id`](RequestRecord.md#request_id)
|
|
120
|
+
|
|
61
121
|
***
|
|
62
122
|
|
|
63
123
|
### requested\_at
|
|
64
124
|
|
|
65
125
|
> **requested\_at**: `string`
|
|
66
126
|
|
|
127
|
+
#### Inherited from
|
|
128
|
+
|
|
129
|
+
[`RequestRecord`](RequestRecord.md).[`requested_at`](RequestRecord.md#requested_at)
|
|
130
|
+
|
|
67
131
|
***
|
|
68
132
|
|
|
69
133
|
### response?
|
|
@@ -86,8 +150,26 @@
|
|
|
86
150
|
|
|
87
151
|
> `optional` **status?**: `number`
|
|
88
152
|
|
|
153
|
+
#### Inherited from
|
|
154
|
+
|
|
155
|
+
[`RequestRecord`](RequestRecord.md).[`response`](RequestRecord.md#response)
|
|
156
|
+
|
|
157
|
+
***
|
|
158
|
+
|
|
159
|
+
### root\_agent\_id
|
|
160
|
+
|
|
161
|
+
> **root\_agent\_id**: `string`
|
|
162
|
+
|
|
163
|
+
#### Inherited from
|
|
164
|
+
|
|
165
|
+
[`RequestRecord`](RequestRecord.md).[`root_agent_id`](RequestRecord.md#root_agent_id)
|
|
166
|
+
|
|
89
167
|
***
|
|
90
168
|
|
|
91
|
-
###
|
|
169
|
+
### vault\_id
|
|
170
|
+
|
|
171
|
+
> **vault\_id**: `string`
|
|
172
|
+
|
|
173
|
+
#### Inherited from
|
|
92
174
|
|
|
93
|
-
|
|
175
|
+
[`RequestRecord`](RequestRecord.md).[`vault_id`](RequestRecord.md#vault_id)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
### secret\_id
|
|
28
28
|
|
|
29
|
-
> **secret\_id**:
|
|
29
|
+
> **secret\_id**: `string`
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
|
|
39
39
|
### vault\_id
|
|
40
40
|
|
|
41
|
-
> **vault\_id**:
|
|
41
|
+
> **vault\_id**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,21 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### error?
|
|
16
16
|
|
|
17
|
-
>
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### detail
|
|
22
|
-
|
|
23
|
-
> **detail**: `string`
|
|
24
|
-
|
|
25
|
-
***
|
|
26
|
-
|
|
27
|
-
### error\_code?
|
|
28
|
-
|
|
29
|
-
> `optional` **error\_code?**: `string` \| `null`
|
|
17
|
+
> `optional` **error?**: `string`
|
|
30
18
|
|
|
31
19
|
***
|
|
32
20
|
|
|
@@ -36,59 +24,21 @@
|
|
|
36
24
|
|
|
37
25
|
***
|
|
38
26
|
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
> **execution\_status**: `"not_executed"` \| `"succeeded"` \| `"failed"`
|
|
42
|
-
|
|
43
|
-
***
|
|
44
|
-
|
|
45
|
-
### operation
|
|
46
|
-
|
|
47
|
-
> **operation**: [`AuditOperation`](../enumerations/AuditOperation.md)
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### request\_id?
|
|
27
|
+
### function\_name
|
|
52
28
|
|
|
53
|
-
>
|
|
29
|
+
> **function\_name**: `string`
|
|
54
30
|
|
|
55
31
|
***
|
|
56
32
|
|
|
57
|
-
###
|
|
33
|
+
### input
|
|
58
34
|
|
|
59
|
-
>
|
|
35
|
+
> **input**: `Record`\<`string`, `any`\>
|
|
60
36
|
|
|
61
37
|
***
|
|
62
38
|
|
|
63
|
-
###
|
|
64
|
-
|
|
65
|
-
> `optional` **secret\_alias?**: `string`
|
|
66
|
-
|
|
67
|
-
***
|
|
68
|
-
|
|
69
|
-
### secret\_id?
|
|
70
|
-
|
|
71
|
-
> `optional` **secret\_id?**: `string`
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### site\_id?
|
|
76
|
-
|
|
77
|
-
> `optional` **site\_id?**: `string`
|
|
78
|
-
|
|
79
|
-
***
|
|
80
|
-
|
|
81
|
-
### target?
|
|
82
|
-
|
|
83
|
-
> `optional` **target?**: `object`
|
|
84
|
-
|
|
85
|
-
#### kind
|
|
86
|
-
|
|
87
|
-
> **kind**: `"http"` \| `"other"`
|
|
88
|
-
|
|
89
|
-
#### url
|
|
39
|
+
### output?
|
|
90
40
|
|
|
91
|
-
> **
|
|
41
|
+
> `optional` **output?**: `any`
|
|
92
42
|
|
|
93
43
|
***
|
|
94
44
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -18,8 +18,6 @@ Main runtime interface.
|
|
|
18
18
|
|
|
19
19
|
> **createAgentClient**: (`options`) => [`AgentClient`](AgentClient.md)
|
|
20
20
|
|
|
21
|
-
Creates an [AgentClient](AgentClient.md) for a delegated identity.
|
|
22
|
-
|
|
23
21
|
#### Parameters
|
|
24
22
|
|
|
25
23
|
##### options
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
|
|
35
35
|
### secret\_id
|
|
36
36
|
|
|
37
|
-
> **secret\_id**:
|
|
37
|
+
> **secret\_id**: `string` \| `null`
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
41
|
### vault\_id
|
|
42
42
|
|
|
43
|
-
> **vault\_id**:
|
|
43
|
+
> **vault\_id**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
### secret\_id
|
|
34
34
|
|
|
35
|
-
> **secret\_id**:
|
|
35
|
+
> **secret\_id**: `string`
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
|
|
45
45
|
### vault\_id
|
|
46
46
|
|
|
47
|
-
> **vault\_id**:
|
|
47
|
+
> **vault\_id**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### secret\
|
|
63
|
+
### secret\_id?
|
|
64
64
|
|
|
65
|
-
> `optional` **secret\
|
|
65
|
+
> `optional` **secret\_id?**: `string`
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
|
|
81
81
|
### vault\_id
|
|
82
82
|
|
|
83
|
-
> **vault\_id**:
|
|
83
|
+
> **vault\_id**: `string`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### function\_names?
|
|
16
16
|
|
|
17
|
-
> `optional` **
|
|
17
|
+
> `optional` **function\_names?**: readonly `string`[]
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.74.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -228,7 +228,7 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
228
228
|
|
|
229
229
|
### ownerListRequests()
|
|
230
230
|
|
|
231
|
-
> **ownerListRequests**(`input?`): `Promise`\<readonly [`
|
|
231
|
+
> **ownerListRequests**(`input?`): `Promise`\<readonly [`OwnerRequestRecord`](OwnerRequestRecord.md)[]\>
|
|
232
232
|
|
|
233
233
|
#### Parameters
|
|
234
234
|
|
|
@@ -238,13 +238,13 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
238
238
|
|
|
239
239
|
#### Returns
|
|
240
240
|
|
|
241
|
-
`Promise`\<readonly [`
|
|
241
|
+
`Promise`\<readonly [`OwnerRequestRecord`](OwnerRequestRecord.md)[]\>
|
|
242
242
|
|
|
243
243
|
***
|
|
244
244
|
|
|
245
245
|
### ownerListSecrets()
|
|
246
246
|
|
|
247
|
-
> **ownerListSecrets**(`input?`): `Promise`\<readonly [`
|
|
247
|
+
> **ownerListSecrets**(`input?`): `Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
248
248
|
|
|
249
249
|
#### Parameters
|
|
250
250
|
|
|
@@ -254,7 +254,7 @@ A client for vault owners to manage secrets, agents, and grants.
|
|
|
254
254
|
|
|
255
255
|
#### Returns
|
|
256
256
|
|
|
257
|
-
`Promise`\<readonly [`
|
|
257
|
+
`Promise`\<readonly [`SecretRecord`](SecretRecord.md)[]\>
|
|
258
258
|
|
|
259
259
|
***
|
|
260
260
|
|