@the-ai-company/cbio-node-runtime 1.69.0 → 1.71.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 +25 -0
- package/dist/clients/owner/client.js +39 -4
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +3 -1
- package/dist/public-types.d.ts +2 -1
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +26 -28
- package/dist/vault-core/contracts.js +0 -6
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +8 -6
- package/dist/vault-core/core.js +125 -52
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +11 -11
- package/dist/vault-core/defaults.js +75 -35
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +3 -3
- package/dist/vault-core/index.js +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +39 -42
- package/dist/vault-core/persistence.js +332 -372
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +9 -8
- package/dist/vault-ingress/index.d.ts +22 -0
- package/dist/vault-ingress/index.js +40 -14
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/server-utils.d.ts +30 -0
- package/dist/vault-ingress/server-utils.js +151 -0
- package/dist/vault-ingress/server-utils.js.map +1 -1
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/REFERENCE.md +7 -3
- package/docs/api/README.md +5 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +9 -5
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +11 -11
- package/docs/api/classes/PersistentVaultAuditLog.md +29 -5
- package/docs/api/classes/PersistentVaultSecretCustody.md +5 -5
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +14 -14
- package/docs/api/classes/PersistentVaultSecretRepository.md +5 -5
- package/docs/api/classes/VaultCore.md +32 -16
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditOperation.md +1 -37
- 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 +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 +30 -0
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/handleVaultPendingDispatchSse.md +30 -0
- 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/AgentClient.md +1 -1
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentIdentityRecord.md +1 -1
- package/docs/api/interfaces/AgentRequestRecord.md +11 -1
- 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/AgentVisibleRequestRecord.md +7 -1
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +59 -1
- 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 -23
- package/docs/api/interfaces/DispatchAuthorization.md +1 -1
- package/docs/api/interfaces/DispatchInstruction.md +1 -1
- package/docs/api/interfaces/DispatchRequest.md +1 -1
- package/docs/api/interfaces/DispatchResult.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/OpenOwnerSessionOptions.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerAuditSubscription.md +45 -0
- package/docs/api/interfaces/OwnerClient.md +17 -1
- 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 +11 -1
- 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 +9 -3
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +7 -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 +5 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +3 -3
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +1 -1
- 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/VaultId.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 +17 -1
- 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/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +2 -2
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +10 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
|
|
13
13
|
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new PersistentVaultAgentSecretGrantRegistry**(`
|
|
15
|
+
> **new PersistentVaultAgentSecretGrantRegistry**(`db`): `SqliteAgentSecretGrantRegistry`
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
#####
|
|
19
|
+
##### db
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Database`
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
25
|
-
`
|
|
25
|
+
`SqliteAgentSecretGrantRegistry`
|
|
26
26
|
|
|
27
27
|
## Methods
|
|
28
28
|
|
|
29
29
|
### delete()
|
|
30
30
|
|
|
31
|
-
> **delete**(`vault_id`, `root_agent_id`, `
|
|
31
|
+
> **delete**(`vault_id`, `root_agent_id`, `secret_id`): `Promise`\<`void`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
|
|
41
41
|
`string`
|
|
42
42
|
|
|
43
|
-
##### secret\
|
|
43
|
+
##### secret\_id
|
|
44
44
|
|
|
45
|
-
`
|
|
45
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
46
46
|
|
|
47
47
|
#### Returns
|
|
48
48
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
### get()
|
|
58
58
|
|
|
59
|
-
> **get**(`vault_id`, `root_agent_id`, `
|
|
59
|
+
> **get**(`vault_id`, `root_agent_id`, `secret_id`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md) \| `null`\>
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
|
|
69
69
|
`string`
|
|
70
70
|
|
|
71
|
-
##### secret\
|
|
71
|
+
##### secret\_id
|
|
72
72
|
|
|
73
|
-
`
|
|
73
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
74
74
|
|
|
75
75
|
#### Returns
|
|
76
76
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
|
|
13
13
|
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new PersistentVaultAuditLog**(`
|
|
15
|
+
> **new PersistentVaultAuditLog**(`db`): `SqliteAuditLog`
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
#####
|
|
19
|
+
##### db
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Database`
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
25
|
-
`
|
|
25
|
+
`SqliteAuditLog`
|
|
26
26
|
|
|
27
27
|
## Methods
|
|
28
28
|
|
|
@@ -63,3 +63,27 @@
|
|
|
63
63
|
#### Implementation of
|
|
64
64
|
|
|
65
65
|
`AuditLog.query`
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### subscribe()
|
|
70
|
+
|
|
71
|
+
> **subscribe**(`vault_id`, `subscription`): () => `void`
|
|
72
|
+
|
|
73
|
+
#### Parameters
|
|
74
|
+
|
|
75
|
+
##### vault\_id
|
|
76
|
+
|
|
77
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
78
|
+
|
|
79
|
+
##### subscription
|
|
80
|
+
|
|
81
|
+
[`OwnerAuditSubscription`](../interfaces/OwnerAuditSubscription.md)
|
|
82
|
+
|
|
83
|
+
#### Returns
|
|
84
|
+
|
|
85
|
+
() => `void`
|
|
86
|
+
|
|
87
|
+
#### Implementation of
|
|
88
|
+
|
|
89
|
+
`AuditLog.subscribe`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new PersistentVaultSecretCustody**(`
|
|
15
|
+
> **new PersistentVaultSecretCustody**(`db`, `workingKey`): `SqliteSecretCustody`
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
#####
|
|
19
|
+
##### db
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Database`
|
|
22
22
|
|
|
23
23
|
##### workingKey
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
#### Returns
|
|
28
28
|
|
|
29
|
-
`
|
|
29
|
+
`SqliteSecretCustody`
|
|
30
30
|
|
|
31
31
|
## Methods
|
|
32
32
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
|
|
13
13
|
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new PersistentVaultSecretDestinationGrantRegistry**(`
|
|
15
|
+
> **new PersistentVaultSecretDestinationGrantRegistry**(`db`): `SqliteSecretDestinationGrantRegistry`
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
#####
|
|
19
|
+
##### db
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Database`
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
25
|
-
`
|
|
25
|
+
`SqliteSecretDestinationGrantRegistry`
|
|
26
26
|
|
|
27
27
|
## Methods
|
|
28
28
|
|
|
29
29
|
### delete()
|
|
30
30
|
|
|
31
|
-
> **delete**(`vault_id`, `
|
|
31
|
+
> **delete**(`vault_id`, `secret_id`, `site_id`): `Promise`\<`void`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
|
|
37
37
|
[`VaultId`](../interfaces/VaultId.md)
|
|
38
38
|
|
|
39
|
-
##### secret\
|
|
39
|
+
##### secret\_id
|
|
40
40
|
|
|
41
|
-
`
|
|
41
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
42
42
|
|
|
43
43
|
##### site\_id
|
|
44
44
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
### get()
|
|
58
58
|
|
|
59
|
-
> **get**(`vault_id`, `
|
|
59
|
+
> **get**(`vault_id`, `secret_id`, `site_id`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md) \| `null`\>
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
|
|
65
65
|
[`VaultId`](../interfaces/VaultId.md)
|
|
66
66
|
|
|
67
|
-
##### secret\
|
|
67
|
+
##### secret\_id
|
|
68
68
|
|
|
69
|
-
`
|
|
69
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
70
70
|
|
|
71
71
|
##### site\_id
|
|
72
72
|
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
|
|
85
85
|
### list()
|
|
86
86
|
|
|
87
|
-
> **list**(`vault_id`, `
|
|
87
|
+
> **list**(`vault_id`, `secret_id?`): `Promise`\<readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]\>
|
|
88
88
|
|
|
89
89
|
#### Parameters
|
|
90
90
|
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
|
|
93
93
|
[`VaultId`](../interfaces/VaultId.md)
|
|
94
94
|
|
|
95
|
-
##### secret\
|
|
95
|
+
##### secret\_id?
|
|
96
96
|
|
|
97
|
-
`
|
|
97
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
98
98
|
|
|
99
99
|
#### Returns
|
|
100
100
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
|
|
13
13
|
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new PersistentVaultSecretRepository**(`
|
|
15
|
+
> **new PersistentVaultSecretRepository**(`db`): `SqliteSecretRepository`
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
#####
|
|
19
|
+
##### db
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Database`
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
25
|
-
`
|
|
25
|
+
`SqliteSecretRepository`
|
|
26
26
|
|
|
27
27
|
## Methods
|
|
28
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
### ownerGrantAgentSecret()
|
|
274
274
|
|
|
275
|
-
> **ownerGrantAgentSecret**(`actor`, `root_agent_id`, `
|
|
275
|
+
> **ownerGrantAgentSecret**(`actor`, `root_agent_id`, `secret_id`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
276
276
|
|
|
277
277
|
#### Parameters
|
|
278
278
|
|
|
@@ -284,9 +284,9 @@
|
|
|
284
284
|
|
|
285
285
|
`string`
|
|
286
286
|
|
|
287
|
-
##### secret\
|
|
287
|
+
##### secret\_id
|
|
288
288
|
|
|
289
|
-
`
|
|
289
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
290
290
|
|
|
291
291
|
##### request?
|
|
292
292
|
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
|
|
303
303
|
### ownerGrantSecretDestination()
|
|
304
304
|
|
|
305
|
-
> **ownerGrantSecretDestination**(`actor`, `
|
|
305
|
+
> **ownerGrantSecretDestination**(`actor`, `secret_id`, `site_id`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
306
306
|
|
|
307
307
|
#### Parameters
|
|
308
308
|
|
|
@@ -310,9 +310,9 @@
|
|
|
310
310
|
|
|
311
311
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
312
312
|
|
|
313
|
-
##### secret\
|
|
313
|
+
##### secret\_id
|
|
314
314
|
|
|
315
|
-
`
|
|
315
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
316
316
|
|
|
317
317
|
##### site\_id
|
|
318
318
|
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
|
|
391
391
|
### ownerListGrants()
|
|
392
392
|
|
|
393
|
-
> **ownerListGrants**(`actor`, `root_agent_id?`, `
|
|
393
|
+
> **ownerListGrants**(`actor`, `root_agent_id?`, `secret_id?`): `Promise`\<\{ `agent_secrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secret_destinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
394
394
|
|
|
395
395
|
#### Parameters
|
|
396
396
|
|
|
@@ -402,9 +402,9 @@
|
|
|
402
402
|
|
|
403
403
|
`string`
|
|
404
404
|
|
|
405
|
-
##### secret\
|
|
405
|
+
##### secret\_id?
|
|
406
406
|
|
|
407
|
-
`
|
|
407
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
408
408
|
|
|
409
409
|
#### Returns
|
|
410
410
|
|
|
@@ -448,6 +448,22 @@
|
|
|
448
448
|
|
|
449
449
|
***
|
|
450
450
|
|
|
451
|
+
### ownerOnAudit()
|
|
452
|
+
|
|
453
|
+
> **ownerOnAudit**(`subscription`): () => `void`
|
|
454
|
+
|
|
455
|
+
#### Parameters
|
|
456
|
+
|
|
457
|
+
##### subscription
|
|
458
|
+
|
|
459
|
+
[`OwnerAuditSubscription`](../interfaces/OwnerAuditSubscription.md)
|
|
460
|
+
|
|
461
|
+
#### Returns
|
|
462
|
+
|
|
463
|
+
() => `void`
|
|
464
|
+
|
|
465
|
+
***
|
|
466
|
+
|
|
451
467
|
### ownerOnPendingDispatch()
|
|
452
468
|
|
|
453
469
|
> **ownerOnPendingDispatch**(`subscription`): () => `void`
|
|
@@ -558,7 +574,7 @@
|
|
|
558
574
|
|
|
559
575
|
### ownerRevokeAgentSecret()
|
|
560
576
|
|
|
561
|
-
> **ownerRevokeAgentSecret**(`actor`, `root_agent_id`, `
|
|
577
|
+
> **ownerRevokeAgentSecret**(`actor`, `root_agent_id`, `secret_id`, `request?`): `Promise`\<`void`\>
|
|
562
578
|
|
|
563
579
|
#### Parameters
|
|
564
580
|
|
|
@@ -570,9 +586,9 @@
|
|
|
570
586
|
|
|
571
587
|
`string`
|
|
572
588
|
|
|
573
|
-
##### secret\
|
|
589
|
+
##### secret\_id
|
|
574
590
|
|
|
575
|
-
`
|
|
591
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
576
592
|
|
|
577
593
|
##### request?
|
|
578
594
|
|
|
@@ -588,7 +604,7 @@
|
|
|
588
604
|
|
|
589
605
|
### ownerRevokeSecretDestination()
|
|
590
606
|
|
|
591
|
-
> **ownerRevokeSecretDestination**(`actor`, `
|
|
607
|
+
> **ownerRevokeSecretDestination**(`actor`, `secret_id`, `site_id`, `request?`): `Promise`\<`void`\>
|
|
592
608
|
|
|
593
609
|
#### Parameters
|
|
594
610
|
|
|
@@ -596,9 +612,9 @@
|
|
|
596
612
|
|
|
597
613
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
598
614
|
|
|
599
|
-
##### secret\
|
|
615
|
+
##### secret\_id
|
|
600
616
|
|
|
601
|
-
`
|
|
617
|
+
[`SecretId`](../interfaces/SecretId.md)
|
|
602
618
|
|
|
603
619
|
##### site\_id
|
|
604
620
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -60,42 +60,6 @@
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
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
63
|
### POLICY\_EVALUATE
|
|
100
64
|
|
|
101
65
|
> **POLICY\_EVALUATE**: `"policy.evaluate_dispatch"`
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Function: handleVaultAuditSse()
|
|
6
|
+
|
|
7
|
+
> **handleVaultAuditSse**(`service`, `options?`): `Response`
|
|
8
|
+
|
|
9
|
+
Creates an SSE response that streams owner-visible audit entries.
|
|
10
|
+
Host applications should authenticate owner access before exposing this helper remotely.
|
|
11
|
+
|
|
12
|
+
## Parameters
|
|
13
|
+
|
|
14
|
+
### service
|
|
15
|
+
|
|
16
|
+
[`VaultService`](../interfaces/VaultService.md)
|
|
17
|
+
|
|
18
|
+
The VaultService instance to subscribe against.
|
|
19
|
+
|
|
20
|
+
### options?
|
|
21
|
+
|
|
22
|
+
`VaultAuditSseOptions` = `{}`
|
|
23
|
+
|
|
24
|
+
Stream options such as replay cursor, filtering, and abort handling.
|
|
25
|
+
|
|
26
|
+
## Returns
|
|
27
|
+
|
|
28
|
+
`Response`
|
|
29
|
+
|
|
30
|
+
A streaming SSE Response that emits `audit_entry` events by default.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.71.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Function: handleVaultPendingDispatchSse()
|
|
6
|
+
|
|
7
|
+
> **handleVaultPendingDispatchSse**(`service`, `options?`): `Response`
|
|
8
|
+
|
|
9
|
+
Creates an SSE response that streams owner-visible pending dispatch events.
|
|
10
|
+
Host applications should authenticate owner access before exposing this helper remotely.
|
|
11
|
+
|
|
12
|
+
## Parameters
|
|
13
|
+
|
|
14
|
+
### service
|
|
15
|
+
|
|
16
|
+
[`VaultService`](../interfaces/VaultService.md)
|
|
17
|
+
|
|
18
|
+
The VaultService instance to subscribe against.
|
|
19
|
+
|
|
20
|
+
### options?
|
|
21
|
+
|
|
22
|
+
`VaultPendingDispatchSseOptions` = `{}`
|
|
23
|
+
|
|
24
|
+
Stream options such as replay cursor and abort handling.
|
|
25
|
+
|
|
26
|
+
## Returns
|
|
27
|
+
|
|
28
|
+
`Response`
|
|
29
|
+
|
|
30
|
+
A streaming SSE Response that emits `pending_dispatch` events.
|