@the-ai-company/cbio-node-runtime 1.45.2 → 1.45.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/protocol/crypto.d.ts +3 -0
  2. package/dist/protocol/crypto.js +3 -0
  3. package/dist/protocol/crypto.js.map +1 -1
  4. package/dist/storage/fs.d.ts +3 -0
  5. package/dist/storage/fs.js +3 -0
  6. package/dist/storage/fs.js.map +1 -1
  7. package/dist/storage/memory.d.ts +3 -0
  8. package/dist/storage/memory.js +3 -0
  9. package/dist/storage/memory.js.map +1 -1
  10. package/dist/vault-core/core.d.ts +3 -0
  11. package/dist/vault-core/core.js +3 -0
  12. package/dist/vault-core/core.js.map +1 -1
  13. package/dist/vault-core/defaults.d.ts +45 -0
  14. package/dist/vault-core/defaults.js +45 -0
  15. package/dist/vault-core/defaults.js.map +1 -1
  16. package/dist/vault-core/persistence.d.ts +30 -0
  17. package/dist/vault-core/persistence.js +30 -0
  18. package/dist/vault-core/persistence.js.map +1 -1
  19. package/dist/vault-ingress/defaults.d.ts +3 -0
  20. package/dist/vault-ingress/defaults.js +3 -0
  21. package/dist/vault-ingress/defaults.js.map +1 -1
  22. package/dist/vault-ingress/remote-transport.d.ts +3 -0
  23. package/dist/vault-ingress/remote-transport.js +3 -0
  24. package/dist/vault-ingress/remote-transport.js.map +1 -1
  25. package/docs/api/README.md +2 -33
  26. package/docs/api/classes/IdentityError.md +1 -1
  27. package/docs/api/classes/InMemoryReplayGuard.md +1 -1
  28. package/docs/api/classes/VaultCoreError.md +1 -1
  29. package/docs/api/enumerations/AuditAction.md +1 -1
  30. package/docs/api/enumerations/AuditOutcome.md +1 -1
  31. package/docs/api/enumerations/DispatchStatus.md +1 -1
  32. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  33. package/docs/api/functions/createAgentClient.md +1 -1
  34. package/docs/api/functions/createChildIdentity.md +1 -1
  35. package/docs/api/functions/createDefaultVaultCoreDependencies.md +14 -14
  36. package/docs/api/functions/createIdentity.md +1 -1
  37. package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
  38. package/docs/api/functions/createPersistentVaultCoreDependencies.md +13 -13
  39. package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
  40. package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
  41. package/docs/api/functions/createVault.md +1 -1
  42. package/docs/api/functions/createVaultClient.md +1 -1
  43. package/docs/api/functions/createVaultCore.md +1 -1
  44. package/docs/api/functions/createVaultService.md +1 -1
  45. package/docs/api/functions/createWorkspaceStorage.md +3 -3
  46. package/docs/api/functions/deriveChildIdentity.md +1 -1
  47. package/docs/api/functions/deriveIdentityId.md +1 -1
  48. package/docs/api/functions/ensureIdentityPrivateVault.md +1 -1
  49. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  50. package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
  51. package/docs/api/functions/identityPrivateVaultChildrenKey.md +1 -1
  52. package/docs/api/functions/identityPrivateVaultPrefix.md +1 -1
  53. package/docs/api/functions/identityPrivateVaultProfileKey.md +1 -1
  54. package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +1 -1
  55. package/docs/api/functions/initializeVaultCustody.md +1 -1
  56. package/docs/api/functions/listIdentities.md +1 -1
  57. package/docs/api/functions/listVaults.md +1 -1
  58. package/docs/api/functions/readIdentityMetadata.md +1 -1
  59. package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +1 -1
  60. package/docs/api/functions/readIdentityPrivateVaultProfile.md +1 -1
  61. package/docs/api/functions/readVaultProfile.md +1 -1
  62. package/docs/api/functions/readVaultPublicMetadata.md +1 -1
  63. package/docs/api/functions/recoverVault.md +1 -1
  64. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  65. package/docs/api/functions/restoreIdentity.md +1 -1
  66. package/docs/api/functions/toOwnerHttpFlowBoundary.md +1 -1
  67. package/docs/api/functions/updateVaultMetadata.md +1 -1
  68. package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
  69. package/docs/api/functions/writeVaultProfile.md +1 -1
  70. package/docs/api/interfaces/AgentCapability.md +1 -1
  71. package/docs/api/interfaces/AgentClient.md +1 -1
  72. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  73. package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
  74. package/docs/api/interfaces/AgentIdentity.md +1 -1
  75. package/docs/api/interfaces/AgentIdentityRecord.md +1 -1
  76. package/docs/api/interfaces/AgentIdentityRegistry.md +1 -1
  77. package/docs/api/interfaces/AgentProof.md +1 -1
  78. package/docs/api/interfaces/AgentProofVerifier.md +1 -1
  79. package/docs/api/interfaces/AgentSigner.md +1 -1
  80. package/docs/api/interfaces/AuditEntry.md +1 -1
  81. package/docs/api/interfaces/AuditLog.md +1 -1
  82. package/docs/api/interfaces/AuditQuery.md +1 -1
  83. package/docs/api/interfaces/CapabilityRegistry.md +1 -1
  84. package/docs/api/interfaces/CapabilityRevocationRegistry.md +1 -1
  85. package/docs/api/interfaces/CbioRuntime.md +33 -33
  86. package/docs/api/interfaces/ChildIdentity.md +1 -1
  87. package/docs/api/interfaces/Clock.md +1 -1
  88. package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
  89. package/docs/api/interfaces/CreateChildIdentityOptions.md +1 -1
  90. package/docs/api/interfaces/CreateDefaultVaultCoreDependenciesOptions.md +1 -1
  91. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  92. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
  93. package/docs/api/interfaces/CreateVaultClientOptions.md +1 -1
  94. package/docs/api/interfaces/CreateVaultOptions.md +1 -1
  95. package/docs/api/interfaces/CreatedVault.md +1 -1
  96. package/docs/api/interfaces/CustomHttpFlowDefinition.md +1 -1
  97. package/docs/api/interfaces/CustomHttpFlowRegistry.md +1 -1
  98. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
  99. package/docs/api/interfaces/DeriveIdentityOptions.md +1 -1
  100. package/docs/api/interfaces/DispatchAuthorization.md +1 -1
  101. package/docs/api/interfaces/DispatchInstruction.md +1 -1
  102. package/docs/api/interfaces/DispatchRequest.md +1 -1
  103. package/docs/api/interfaces/DispatchResult.md +1 -1
  104. package/docs/api/interfaces/IStorageProvider.md +1 -1
  105. package/docs/api/interfaces/IdGenerator.md +1 -1
  106. package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +1 -1
  107. package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +1 -1
  108. package/docs/api/interfaces/IdentityPrivateVaultProfile.md +1 -1
  109. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  110. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  111. package/docs/api/interfaces/IssuerWriteSecretCommand.md +1 -1
  112. package/docs/api/interfaces/OwnerAuditRequest.md +1 -1
  113. package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +1 -1
  114. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
  115. package/docs/api/interfaces/OwnerDeleteSecretCommand.md +1 -1
  116. package/docs/api/interfaces/OwnerExportSecretRequest.md +1 -1
  117. package/docs/api/interfaces/OwnerHttpFlowBoundary.md +1 -1
  118. package/docs/api/interfaces/OwnerIdentityRecord.md +1 -1
  119. package/docs/api/interfaces/OwnerIdentityRegistry.md +1 -1
  120. package/docs/api/interfaces/OwnerListAgentsRequest.md +1 -1
  121. package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +1 -1
  122. package/docs/api/interfaces/OwnerProof.md +1 -1
  123. package/docs/api/interfaces/OwnerProofVerifier.md +1 -1
  124. package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +1 -1
  125. package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +1 -1
  126. package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +1 -1
  127. package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +1 -1
  128. package/docs/api/interfaces/OwnerSecretExport.md +1 -1
  129. package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
  130. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  131. package/docs/api/interfaces/OwnerWriteSecretCommand.md +1 -1
  132. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
  133. package/docs/api/interfaces/PolicyEngine.md +1 -1
  134. package/docs/api/interfaces/RateLimitStore.md +1 -1
  135. package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
  136. package/docs/api/interfaces/RecoveredVault.md +1 -1
  137. package/docs/api/interfaces/ReplayGuard.md +1 -1
  138. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  139. package/docs/api/interfaces/SecretAlias.md +1 -1
  140. package/docs/api/interfaces/SecretCustody.md +1 -1
  141. package/docs/api/interfaces/SecretId.md +1 -1
  142. package/docs/api/interfaces/SecretRecord.md +1 -1
  143. package/docs/api/interfaces/SecretRepository.md +1 -1
  144. package/docs/api/interfaces/SecretVersion.md +1 -1
  145. package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +1 -1
  146. package/docs/api/interfaces/Signer.md +1 -1
  147. package/docs/api/interfaces/TrustedExecutor.md +1 -1
  148. package/docs/api/interfaces/VaultAcquireSecretInput.md +1 -1
  149. package/docs/api/interfaces/VaultAcquireSecretResult.md +1 -1
  150. package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +1 -1
  151. package/docs/api/interfaces/VaultAgentDispatchRequest.md +1 -1
  152. package/docs/api/interfaces/VaultAgentDispatchResponse.md +1 -1
  153. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  154. package/docs/api/interfaces/VaultClient.md +1 -1
  155. package/docs/api/interfaces/VaultCore.md +1 -1
  156. package/docs/api/interfaces/VaultCoreDependencies.md +1 -1
  157. package/docs/api/interfaces/VaultCustomFlowResolver.md +1 -1
  158. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  159. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  160. package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -1
  161. package/docs/api/interfaces/VaultId.md +1 -1
  162. package/docs/api/interfaces/VaultIdentity.md +1 -1
  163. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  164. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  165. package/docs/api/interfaces/VaultObject.md +1 -1
  166. package/docs/api/interfaces/VaultPrincipal.md +1 -1
  167. package/docs/api/interfaces/VaultProfile.md +1 -1
  168. package/docs/api/interfaces/VaultPublicMetadata.md +1 -1
  169. package/docs/api/interfaces/VaultRegisterAgentInput.md +1 -1
  170. package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
  171. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  172. package/docs/api/interfaces/VaultService.md +1 -1
  173. package/docs/api/interfaces/VaultSigner.md +1 -1
  174. package/docs/api/interfaces/VaultTargetBinding.md +1 -1
  175. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
  176. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  177. package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +1 -1
  178. package/docs/api/type-aliases/RedactedResponseShape.md +1 -1
  179. package/docs/api/type-aliases/VaultAcquireSecretFlow.md +1 -1
  180. package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
  181. package/docs/api/type-aliases/VaultWriteSecretCommand.md +1 -1
  182. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  183. package/package.json +1 -1
  184. package/docs/api/classes/AgentDispatchHttpTransport.md +0 -52
  185. package/docs/api/classes/DefaultPolicyEngine.md +0 -117
  186. package/docs/api/classes/DefaultVaultCore.md +0 -405
  187. package/docs/api/classes/FsStorageProvider.md +0 -192
  188. package/docs/api/classes/HttpDispatchExecutor.md +0 -63
  189. package/docs/api/classes/InMemoryAgentIdentityRegistry.md +0 -83
  190. package/docs/api/classes/InMemoryAuditLog.md +0 -59
  191. package/docs/api/classes/InMemoryCapabilityRegistry.md +0 -91
  192. package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +0 -75
  193. package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +0 -63
  194. package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +0 -83
  195. package/docs/api/classes/InMemoryRateLimitStore.md +0 -51
  196. package/docs/api/classes/InMemorySecretCustody.md +0 -83
  197. package/docs/api/classes/InMemorySecretRepository.md +0 -99
  198. package/docs/api/classes/LocalSigner.md +0 -59
  199. package/docs/api/classes/LocalVaultTransport.md +0 -45
  200. package/docs/api/classes/MemoryStorageProvider.md +0 -160
  201. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +0 -101
  202. package/docs/api/classes/PersistentVaultAuditLog.md +0 -73
  203. package/docs/api/classes/PersistentVaultCapabilityRegistry.md +0 -109
  204. package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +0 -93
  205. package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +0 -81
  206. package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +0 -101
  207. package/docs/api/classes/PersistentVaultRateLimitStore.md +0 -69
  208. package/docs/api/classes/PersistentVaultReplayGuard.md +0 -61
  209. package/docs/api/classes/PersistentVaultSecretCustody.md +0 -97
  210. package/docs/api/classes/PersistentVaultSecretRepository.md +0 -117
  211. package/docs/api/classes/RandomIdGenerator.md +0 -65
  212. package/docs/api/classes/SignatureAgentProofVerifier.md +0 -49
  213. package/docs/api/classes/SignatureOwnerProofVerifier.md +0 -249
  214. package/docs/api/classes/SystemClock.md +0 -33
@@ -1,101 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: PersistentVaultOwnerIdentityRegistry
6
-
7
- ## Implements
8
-
9
- - [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new PersistentVaultOwnerIdentityRegistry**(`storage`, `vaultWorkingKey`, `key?`, `_lockKey?`): `FileOwnerIdentityRegistry`
16
-
17
- #### Parameters
18
-
19
- ##### storage
20
-
21
- [`IStorageProvider`](../interfaces/IStorageProvider.md)
22
-
23
- ##### vaultWorkingKey
24
-
25
- `string`
26
-
27
- ##### key?
28
-
29
- `string` = `"vault/sealed/identities/owners.sealed"`
30
-
31
- ##### \_lockKey?
32
-
33
- `string` = `"vault/sealed/locks/owner-identities"`
34
-
35
- #### Returns
36
-
37
- `FileOwnerIdentityRegistry`
38
-
39
- ## Methods
40
-
41
- ### get()
42
-
43
- > **get**(`vaultId`, `ownerId`): `Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
44
-
45
- #### Parameters
46
-
47
- ##### vaultId
48
-
49
- [`VaultId`](../interfaces/VaultId.md)
50
-
51
- ##### ownerId
52
-
53
- `string`
54
-
55
- #### Returns
56
-
57
- `Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
58
-
59
- #### Implementation of
60
-
61
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`get`](../interfaces/OwnerIdentityRegistry.md#get)
62
-
63
- ***
64
-
65
- ### hasAny()
66
-
67
- > **hasAny**(`vaultId`): `Promise`\<`boolean`\>
68
-
69
- #### Parameters
70
-
71
- ##### vaultId
72
-
73
- [`VaultId`](../interfaces/VaultId.md)
74
-
75
- #### Returns
76
-
77
- `Promise`\<`boolean`\>
78
-
79
- #### Implementation of
80
-
81
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`hasAny`](../interfaces/OwnerIdentityRegistry.md#hasany)
82
-
83
- ***
84
-
85
- ### register()
86
-
87
- > **register**(`identity`): `Promise`\<`void`\>
88
-
89
- #### Parameters
90
-
91
- ##### identity
92
-
93
- [`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md)
94
-
95
- #### Returns
96
-
97
- `Promise`\<`void`\>
98
-
99
- #### Implementation of
100
-
101
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`register`](../interfaces/OwnerIdentityRegistry.md#register)
@@ -1,69 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: PersistentVaultRateLimitStore
6
-
7
- ## Implements
8
-
9
- - [`RateLimitStore`](../interfaces/RateLimitStore.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new PersistentVaultRateLimitStore**(`storage`, `vaultWorkingKey`, `key?`, `_lockKey?`): `FileRateLimitStore`
16
-
17
- #### Parameters
18
-
19
- ##### storage
20
-
21
- [`IStorageProvider`](../interfaces/IStorageProvider.md)
22
-
23
- ##### vaultWorkingKey
24
-
25
- `string`
26
-
27
- ##### key?
28
-
29
- `string` = `"vault/sealed/security/rate-limits.sealed"`
30
-
31
- ##### \_lockKey?
32
-
33
- `string` = `"vault/sealed/locks/rate-limits"`
34
-
35
- #### Returns
36
-
37
- `FileRateLimitStore`
38
-
39
- ## Methods
40
-
41
- ### consume()
42
-
43
- > **consume**(`key`, `maxRequests`, `windowMs`, `nowMs`): `Promise`\<`void`\>
44
-
45
- #### Parameters
46
-
47
- ##### key
48
-
49
- `string`
50
-
51
- ##### maxRequests
52
-
53
- `number`
54
-
55
- ##### windowMs
56
-
57
- `number`
58
-
59
- ##### nowMs
60
-
61
- `number`
62
-
63
- #### Returns
64
-
65
- `Promise`\<`void`\>
66
-
67
- #### Implementation of
68
-
69
- [`RateLimitStore`](../interfaces/RateLimitStore.md).[`consume`](../interfaces/RateLimitStore.md#consume)
@@ -1,61 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: PersistentVaultReplayGuard
6
-
7
- ## Implements
8
-
9
- - [`ReplayGuard`](../interfaces/ReplayGuard.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new PersistentVaultReplayGuard**(`storage`, `vaultWorkingKey`, `key?`, `_lockKey?`, `_ttlMs?`): `FileReplayGuard`
16
-
17
- #### Parameters
18
-
19
- ##### storage
20
-
21
- [`IStorageProvider`](../interfaces/IStorageProvider.md)
22
-
23
- ##### vaultWorkingKey
24
-
25
- `string`
26
-
27
- ##### key?
28
-
29
- `string` = `"vault/sealed/security/replay.sealed"`
30
-
31
- ##### \_lockKey?
32
-
33
- `string` = `"vault/sealed/locks/replay"`
34
-
35
- ##### \_ttlMs?
36
-
37
- `number` = `...`
38
-
39
- #### Returns
40
-
41
- `FileReplayGuard`
42
-
43
- ## Methods
44
-
45
- ### assertNotReplayed()
46
-
47
- > **assertNotReplayed**(`request`): `Promise`\<`void`\>
48
-
49
- #### Parameters
50
-
51
- ##### request
52
-
53
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
54
-
55
- #### Returns
56
-
57
- `Promise`\<`void`\>
58
-
59
- #### Implementation of
60
-
61
- [`ReplayGuard`](../interfaces/ReplayGuard.md).[`assertNotReplayed`](../interfaces/ReplayGuard.md#assertnotreplayed)
@@ -1,97 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: PersistentVaultSecretCustody
6
-
7
- ## Implements
8
-
9
- - [`SecretCustody`](../interfaces/SecretCustody.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new PersistentVaultSecretCustody**(`_storage`, `_vaultWorkingKey`, `_keyPrefix?`): `FileSecretCustody`
16
-
17
- #### Parameters
18
-
19
- ##### \_storage
20
-
21
- [`IStorageProvider`](../interfaces/IStorageProvider.md)
22
-
23
- ##### \_vaultWorkingKey
24
-
25
- `string`
26
-
27
- ##### \_keyPrefix?
28
-
29
- `string` = `"vault/sealed/custody"`
30
-
31
- #### Returns
32
-
33
- `FileSecretCustody`
34
-
35
- ## Methods
36
-
37
- ### delete()
38
-
39
- > **delete**(`secretId`): `Promise`\<`void`\>
40
-
41
- #### Parameters
42
-
43
- ##### secretId
44
-
45
- [`SecretId`](../interfaces/SecretId.md)
46
-
47
- #### Returns
48
-
49
- `Promise`\<`void`\>
50
-
51
- #### Implementation of
52
-
53
- [`SecretCustody`](../interfaces/SecretCustody.md).[`delete`](../interfaces/SecretCustody.md#delete)
54
-
55
- ***
56
-
57
- ### load()
58
-
59
- > **load**(`secretId`): `Promise`\<`string` \| `null`\>
60
-
61
- #### Parameters
62
-
63
- ##### secretId
64
-
65
- [`SecretId`](../interfaces/SecretId.md)
66
-
67
- #### Returns
68
-
69
- `Promise`\<`string` \| `null`\>
70
-
71
- #### Implementation of
72
-
73
- [`SecretCustody`](../interfaces/SecretCustody.md).[`load`](../interfaces/SecretCustody.md#load)
74
-
75
- ***
76
-
77
- ### store()
78
-
79
- > **store**(`secretId`, `plaintext`): `Promise`\<`void`\>
80
-
81
- #### Parameters
82
-
83
- ##### secretId
84
-
85
- [`SecretId`](../interfaces/SecretId.md)
86
-
87
- ##### plaintext
88
-
89
- `string`
90
-
91
- #### Returns
92
-
93
- `Promise`\<`void`\>
94
-
95
- #### Implementation of
96
-
97
- [`SecretCustody`](../interfaces/SecretCustody.md).[`store`](../interfaces/SecretCustody.md#store)
@@ -1,117 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: PersistentVaultSecretRepository
6
-
7
- ## Implements
8
-
9
- - [`SecretRepository`](../interfaces/SecretRepository.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new PersistentVaultSecretRepository**(`storage`, `vaultWorkingKey`, `key?`, `_lockKey?`): `FileSecretRepository`
16
-
17
- #### Parameters
18
-
19
- ##### storage
20
-
21
- [`IStorageProvider`](../interfaces/IStorageProvider.md)
22
-
23
- ##### vaultWorkingKey
24
-
25
- `string`
26
-
27
- ##### key?
28
-
29
- `string` = `"vault/sealed/secrets.sealed"`
30
-
31
- ##### \_lockKey?
32
-
33
- `string` = `"vault/sealed/locks/secrets"`
34
-
35
- #### Returns
36
-
37
- `FileSecretRepository`
38
-
39
- ## Methods
40
-
41
- ### delete()
42
-
43
- > **delete**(`secretId`): `Promise`\<`void`\>
44
-
45
- #### Parameters
46
-
47
- ##### secretId
48
-
49
- [`SecretId`](../interfaces/SecretId.md)
50
-
51
- #### Returns
52
-
53
- `Promise`\<`void`\>
54
-
55
- #### Implementation of
56
-
57
- [`SecretRepository`](../interfaces/SecretRepository.md).[`delete`](../interfaces/SecretRepository.md#delete)
58
-
59
- ***
60
-
61
- ### getByAlias()
62
-
63
- > **getByAlias**(`alias`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
64
-
65
- #### Parameters
66
-
67
- ##### alias
68
-
69
- [`SecretAlias`](../interfaces/SecretAlias.md)
70
-
71
- #### Returns
72
-
73
- `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
74
-
75
- #### Implementation of
76
-
77
- [`SecretRepository`](../interfaces/SecretRepository.md).[`getByAlias`](../interfaces/SecretRepository.md#getbyalias)
78
-
79
- ***
80
-
81
- ### getById()
82
-
83
- > **getById**(`secretId`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
84
-
85
- #### Parameters
86
-
87
- ##### secretId
88
-
89
- [`SecretId`](../interfaces/SecretId.md)
90
-
91
- #### Returns
92
-
93
- `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
94
-
95
- #### Implementation of
96
-
97
- [`SecretRepository`](../interfaces/SecretRepository.md).[`getById`](../interfaces/SecretRepository.md#getbyid)
98
-
99
- ***
100
-
101
- ### save()
102
-
103
- > **save**(`record`): `Promise`\<`void`\>
104
-
105
- #### Parameters
106
-
107
- ##### record
108
-
109
- [`SecretRecord`](../interfaces/SecretRecord.md)
110
-
111
- #### Returns
112
-
113
- `Promise`\<`void`\>
114
-
115
- #### Implementation of
116
-
117
- [`SecretRepository`](../interfaces/SecretRepository.md).[`save`](../interfaces/SecretRepository.md#save)
@@ -1,65 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: RandomIdGenerator
6
-
7
- ## Implements
8
-
9
- - [`IdGenerator`](../interfaces/IdGenerator.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new RandomIdGenerator**(): `RandomIdGenerator`
16
-
17
- #### Returns
18
-
19
- `RandomIdGenerator`
20
-
21
- ## Methods
22
-
23
- ### newAuditEntryId()
24
-
25
- > **newAuditEntryId**(): `string`
26
-
27
- #### Returns
28
-
29
- `string`
30
-
31
- #### Implementation of
32
-
33
- [`IdGenerator`](../interfaces/IdGenerator.md).[`newAuditEntryId`](../interfaces/IdGenerator.md#newauditentryid)
34
-
35
- ***
36
-
37
- ### newSecretId()
38
-
39
- > **newSecretId**(): [`SecretId`](../interfaces/SecretId.md)
40
-
41
- #### Returns
42
-
43
- [`SecretId`](../interfaces/SecretId.md)
44
-
45
- #### Implementation of
46
-
47
- [`IdGenerator`](../interfaces/IdGenerator.md).[`newSecretId`](../interfaces/IdGenerator.md#newsecretid)
48
-
49
- ***
50
-
51
- ### newVersion()
52
-
53
- > **newVersion**(): `object`
54
-
55
- #### Returns
56
-
57
- `object`
58
-
59
- ##### value
60
-
61
- > **value**: `string`
62
-
63
- #### Implementation of
64
-
65
- [`IdGenerator`](../interfaces/IdGenerator.md).[`newVersion`](../interfaces/IdGenerator.md#newversion)
@@ -1,49 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.2**](../README.md)
2
-
3
- ***
4
-
5
- # Class: SignatureAgentProofVerifier
6
-
7
- ## Implements
8
-
9
- - [`AgentProofVerifier`](../interfaces/AgentProofVerifier.md)
10
-
11
- ## Constructors
12
-
13
- ### Constructor
14
-
15
- > **new SignatureAgentProofVerifier**(`agentIdentities`, `options?`): `SignatureAgentProofVerifier`
16
-
17
- #### Parameters
18
-
19
- ##### agentIdentities
20
-
21
- [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md)
22
-
23
- ##### options?
24
-
25
- [`SignatureAgentProofVerifierOptions`](../interfaces/SignatureAgentProofVerifierOptions.md) = `{}`
26
-
27
- #### Returns
28
-
29
- `SignatureAgentProofVerifier`
30
-
31
- ## Methods
32
-
33
- ### verify()
34
-
35
- > **verify**(`request`): `Promise`\<`void`\>
36
-
37
- #### Parameters
38
-
39
- ##### request
40
-
41
- [`DispatchRequest`](../interfaces/DispatchRequest.md)
42
-
43
- #### Returns
44
-
45
- `Promise`\<`void`\>
46
-
47
- #### Implementation of
48
-
49
- [`AgentProofVerifier`](../interfaces/AgentProofVerifier.md).[`verify`](../interfaces/AgentProofVerifier.md#verify)