@the-ai-company/cbio-node-runtime 1.45.2 → 1.46.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/dist/clients/owner/client.d.ts +4 -10
- package/dist/clients/owner/client.js +39 -182
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/protocol/crypto.d.ts +8 -0
- package/dist/protocol/crypto.js +14 -0
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +7 -20
- package/dist/runtime/bootstrap.js +15 -61
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +1 -23
- package/dist/runtime/identity.js +2 -74
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +8 -22
- package/dist/runtime/index.js +6 -10
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/vault-metadata.d.ts +4 -16
- package/dist/runtime/vault-metadata.js +8 -43
- package/dist/runtime/vault-metadata.js.map +1 -1
- package/dist/storage/fs.d.ts +3 -0
- package/dist/storage/fs.js +3 -0
- package/dist/storage/fs.js.map +1 -1
- package/dist/storage/memory.d.ts +3 -0
- package/dist/storage/memory.js +3 -0
- package/dist/storage/memory.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +0 -23
- package/dist/vault-core/contracts.js +0 -1
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +6 -3
- package/dist/vault-core/core.js +12 -75
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +43 -46
- package/dist/vault-core/defaults.js +41 -294
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +5 -5
- package/dist/vault-core/index.js +3 -3
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +32 -31
- package/dist/vault-core/persistence.js +35 -35
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +2 -51
- package/dist/vault-ingress/defaults.d.ts +3 -0
- package/dist/vault-ingress/defaults.js +3 -0
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +1 -2
- package/dist/vault-ingress/index.js +0 -5
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +3 -0
- package/dist/vault-ingress/remote-transport.js +3 -0
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/api/README.md +6 -122
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/VaultCore.md +320 -0
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +4 -4
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -67
- package/docs/api/functions/createStandardAcquireBoundary.md +3 -3
- package/docs/api/functions/createStandardDispatchBoundary.md +3 -3
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultClient.md +2 -2
- package/docs/api/functions/createVaultCore.md +4 -4
- package/docs/api/functions/createVaultCoreDependencies.md +17 -0
- package/docs/api/functions/createVaultService.md +6 -6
- package/docs/api/functions/createWorkspaceStorage.md +3 -3
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +24 -0
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +4 -4
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +3 -3
- package/docs/api/functions/readVaultProfile.md +3 -3
- 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 +7 -7
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +6 -6
- package/docs/api/functions/writeVaultProfile.md +3 -3
- package/docs/api/interfaces/AgentClient.md +3 -3
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +4 -4
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +55 -396
- package/docs/api/interfaces/CreateAgentClientOptions.md +4 -4
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -5
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +9 -9
- package/docs/api/interfaces/CreateVaultClientOptions.md +5 -5
- package/docs/api/interfaces/CreateVaultOptions.md +16 -16
- package/docs/api/interfaces/CreatedVault.md +3 -3
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +3 -3
- 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/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +10 -10
- package/docs/api/interfaces/RecoveredVault.md +3 -3
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +17 -27
- package/docs/api/interfaces/{CreateDefaultVaultCoreDependenciesOptions.md → VaultCoreDependenciesOptions.md} +3 -3
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +2 -2
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/VaultObject.md +3 -3
- package/docs/api/interfaces/VaultProfile.md +7 -11
- package/docs/api/interfaces/VaultPublicMetadata.md +1 -1
- package/docs/api/interfaces/VaultRegisterAgentInput.md +1 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +2 -2
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +1 -1
- package/docs/api/classes/AgentDispatchHttpTransport.md +0 -52
- package/docs/api/classes/DefaultPolicyEngine.md +0 -117
- package/docs/api/classes/DefaultVaultCore.md +0 -405
- package/docs/api/classes/FsStorageProvider.md +0 -192
- package/docs/api/classes/HttpDispatchExecutor.md +0 -63
- package/docs/api/classes/InMemoryAgentIdentityRegistry.md +0 -83
- package/docs/api/classes/InMemoryAuditLog.md +0 -59
- package/docs/api/classes/InMemoryCapabilityRegistry.md +0 -91
- package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +0 -75
- package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +0 -63
- package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +0 -83
- package/docs/api/classes/InMemoryRateLimitStore.md +0 -51
- package/docs/api/classes/InMemoryReplayGuard.md +0 -45
- package/docs/api/classes/InMemorySecretCustody.md +0 -83
- package/docs/api/classes/InMemorySecretRepository.md +0 -99
- package/docs/api/classes/LocalSigner.md +0 -59
- package/docs/api/classes/LocalVaultTransport.md +0 -45
- package/docs/api/classes/MemoryStorageProvider.md +0 -160
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +0 -101
- package/docs/api/classes/PersistentVaultAuditLog.md +0 -73
- package/docs/api/classes/PersistentVaultCapabilityRegistry.md +0 -109
- package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +0 -93
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +0 -81
- package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +0 -101
- package/docs/api/classes/PersistentVaultRateLimitStore.md +0 -69
- package/docs/api/classes/PersistentVaultReplayGuard.md +0 -61
- package/docs/api/classes/PersistentVaultSecretCustody.md +0 -97
- package/docs/api/classes/PersistentVaultSecretRepository.md +0 -117
- package/docs/api/classes/RandomIdGenerator.md +0 -65
- package/docs/api/classes/SignatureAgentProofVerifier.md +0 -49
- package/docs/api/classes/SignatureOwnerProofVerifier.md +0 -249
- package/docs/api/classes/SystemClock.md +0 -33
- package/docs/api/enumerations/AuditAction.md +0 -95
- package/docs/api/enumerations/AuditOutcome.md +0 -29
- package/docs/api/enumerations/DispatchStatus.md +0 -23
- package/docs/api/functions/createChildIdentity.md +0 -25
- package/docs/api/functions/createDefaultVaultCoreDependencies.md +0 -77
- package/docs/api/functions/deriveChildIdentity.md +0 -41
- package/docs/api/functions/ensureIdentityPrivateVault.md +0 -21
- package/docs/api/functions/identityPrivateVaultChildrenKey.md +0 -17
- package/docs/api/functions/identityPrivateVaultPrefix.md +0 -17
- package/docs/api/functions/identityPrivateVaultProfileKey.md +0 -17
- package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +0 -17
- package/docs/api/functions/listIdentities.md +0 -19
- package/docs/api/functions/readIdentityMetadata.md +0 -29
- package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +0 -21
- package/docs/api/functions/readIdentityPrivateVaultProfile.md +0 -21
- package/docs/api/functions/readVaultPublicMetadata.md +0 -23
- package/docs/api/functions/toOwnerHttpFlowBoundary.md +0 -17
- package/docs/api/interfaces/AgentCapability.md +0 -103
- package/docs/api/interfaces/AgentIdentityRecord.md +0 -23
- package/docs/api/interfaces/AgentIdentityRegistry.md +0 -57
- package/docs/api/interfaces/AgentProof.md +0 -29
- package/docs/api/interfaces/AgentProofVerifier.md +0 -21
- package/docs/api/interfaces/AuditEntry.md +0 -89
- package/docs/api/interfaces/AuditLog.md +0 -37
- package/docs/api/interfaces/AuditQuery.md +0 -29
- package/docs/api/interfaces/CapabilityRegistry.md +0 -65
- package/docs/api/interfaces/CapabilityRevocationRegistry.md +0 -53
- package/docs/api/interfaces/ChildIdentity.md +0 -77
- package/docs/api/interfaces/Clock.md +0 -15
- package/docs/api/interfaces/CreateChildIdentityOptions.md +0 -19
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +0 -71
- package/docs/api/interfaces/CustomHttpFlowRegistry.md +0 -41
- package/docs/api/interfaces/DeriveIdentityOptions.md +0 -11
- package/docs/api/interfaces/DispatchAuthorization.md +0 -35
- package/docs/api/interfaces/DispatchInstruction.md +0 -47
- package/docs/api/interfaces/DispatchRequest.md +0 -77
- package/docs/api/interfaces/DispatchResult.md +0 -53
- package/docs/api/interfaces/IdGenerator.md +0 -39
- package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +0 -35
- package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +0 -17
- package/docs/api/interfaces/IdentityPrivateVaultProfile.md +0 -35
- package/docs/api/interfaces/IssuerWriteSecretCommand.md +0 -59
- package/docs/api/interfaces/OwnerAuditRequest.md +0 -47
- package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +0 -53
- package/docs/api/interfaces/OwnerDeleteSecretCommand.md +0 -47
- package/docs/api/interfaces/OwnerExportSecretRequest.md +0 -47
- package/docs/api/interfaces/OwnerHttpFlowBoundary.md +0 -51
- package/docs/api/interfaces/OwnerIdentityRecord.md +0 -23
- package/docs/api/interfaces/OwnerIdentityRegistry.md +0 -57
- package/docs/api/interfaces/OwnerListAgentsRequest.md +0 -41
- package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +0 -47
- package/docs/api/interfaces/OwnerProof.md +0 -29
- package/docs/api/interfaces/OwnerProofVerifier.md +0 -181
- package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +0 -47
- package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +0 -47
- package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +0 -83
- package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +0 -53
- package/docs/api/interfaces/OwnerSecretExport.md +0 -35
- package/docs/api/interfaces/OwnerWriteSecretCommand.md +0 -65
- package/docs/api/interfaces/PolicyEngine.md +0 -81
- package/docs/api/interfaces/RateLimitStore.md +0 -33
- package/docs/api/interfaces/ReplayGuard.md +0 -21
- package/docs/api/interfaces/SecretAlias.md +0 -11
- package/docs/api/interfaces/SecretCustody.md +0 -57
- package/docs/api/interfaces/SecretId.md +0 -11
- package/docs/api/interfaces/SecretRecord.md +0 -53
- package/docs/api/interfaces/SecretRepository.md +0 -69
- package/docs/api/interfaces/SecretVersion.md +0 -11
- package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +0 -21
- package/docs/api/interfaces/TrustedExecutor.md +0 -31
- package/docs/api/interfaces/VaultAcquireSecretInput.md +0 -53
- package/docs/api/interfaces/VaultAcquireSecretResult.md +0 -41
- package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +0 -25
- package/docs/api/interfaces/VaultAgentDispatchRequest.md +0 -75
- package/docs/api/interfaces/VaultAgentDispatchResponse.md +0 -17
- package/docs/api/interfaces/VaultCore.md +0 -311
- package/docs/api/interfaces/VaultCoreDependencies.md +0 -95
- package/docs/api/interfaces/VaultCustomFlowResolver.md +0 -25
- package/docs/api/interfaces/VaultId.md +0 -11
- package/docs/api/interfaces/VaultPrincipal.md +0 -17
- package/docs/api/interfaces/VaultService.md +0 -251
- package/docs/api/interfaces/VaultTargetBinding.md +0 -35
- package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +0 -7
- package/docs/api/type-aliases/RedactedResponseShape.md +0 -7
- package/docs/api/type-aliases/VaultAcquireSecretFlow.md +0 -7
- package/docs/api/type-aliases/VaultPrincipalKind.md +0 -7
- package/docs/api/type-aliases/VaultWriteSecretCommand.md +0 -7
package/docs/api/README.md
CHANGED
|
@@ -1,170 +1,66 @@
|
|
|
1
|
-
**CBIO Node Runtime Agent API v1.
|
|
1
|
+
**CBIO Node Runtime Agent API v1.46.0**
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# CBIO Node Runtime Agent API v1.
|
|
5
|
+
# CBIO Node Runtime Agent API v1.46.0
|
|
6
6
|
|
|
7
7
|
## Enumerations
|
|
8
8
|
|
|
9
|
-
- [AuditAction](enumerations/AuditAction.md)
|
|
10
|
-
- [AuditOutcome](enumerations/AuditOutcome.md)
|
|
11
|
-
- [DispatchStatus](enumerations/DispatchStatus.md)
|
|
12
9
|
- [IdentityErrorCode](enumerations/IdentityErrorCode.md)
|
|
13
10
|
|
|
14
11
|
## Classes
|
|
15
12
|
|
|
16
|
-
- [AgentDispatchHttpTransport](classes/AgentDispatchHttpTransport.md)
|
|
17
|
-
- [DefaultPolicyEngine](classes/DefaultPolicyEngine.md)
|
|
18
|
-
- [DefaultVaultCore](classes/DefaultVaultCore.md)
|
|
19
|
-
- [FsStorageProvider](classes/FsStorageProvider.md)
|
|
20
|
-
- [HttpDispatchExecutor](classes/HttpDispatchExecutor.md)
|
|
21
13
|
- [IdentityError](classes/IdentityError.md)
|
|
22
|
-
- [
|
|
23
|
-
- [InMemoryAuditLog](classes/InMemoryAuditLog.md)
|
|
24
|
-
- [InMemoryCapabilityRegistry](classes/InMemoryCapabilityRegistry.md)
|
|
25
|
-
- [InMemoryCapabilityRevocationRegistry](classes/InMemoryCapabilityRevocationRegistry.md)
|
|
26
|
-
- [InMemoryCustomHttpFlowRegistry](classes/InMemoryCustomHttpFlowRegistry.md)
|
|
27
|
-
- [InMemoryOwnerIdentityRegistry](classes/InMemoryOwnerIdentityRegistry.md)
|
|
28
|
-
- [InMemoryRateLimitStore](classes/InMemoryRateLimitStore.md)
|
|
29
|
-
- [InMemoryReplayGuard](classes/InMemoryReplayGuard.md)
|
|
30
|
-
- [InMemorySecretCustody](classes/InMemorySecretCustody.md)
|
|
31
|
-
- [InMemorySecretRepository](classes/InMemorySecretRepository.md)
|
|
32
|
-
- [LocalSigner](classes/LocalSigner.md)
|
|
33
|
-
- [LocalVaultTransport](classes/LocalVaultTransport.md)
|
|
34
|
-
- [MemoryStorageProvider](classes/MemoryStorageProvider.md)
|
|
35
|
-
- [PersistentVaultAgentIdentityRegistry](classes/PersistentVaultAgentIdentityRegistry.md)
|
|
36
|
-
- [PersistentVaultAuditLog](classes/PersistentVaultAuditLog.md)
|
|
37
|
-
- [PersistentVaultCapabilityRegistry](classes/PersistentVaultCapabilityRegistry.md)
|
|
38
|
-
- [PersistentVaultCapabilityRevocationRegistry](classes/PersistentVaultCapabilityRevocationRegistry.md)
|
|
39
|
-
- [PersistentVaultCustomHttpFlowRegistry](classes/PersistentVaultCustomHttpFlowRegistry.md)
|
|
40
|
-
- [PersistentVaultOwnerIdentityRegistry](classes/PersistentVaultOwnerIdentityRegistry.md)
|
|
41
|
-
- [PersistentVaultRateLimitStore](classes/PersistentVaultRateLimitStore.md)
|
|
42
|
-
- [PersistentVaultReplayGuard](classes/PersistentVaultReplayGuard.md)
|
|
43
|
-
- [PersistentVaultSecretCustody](classes/PersistentVaultSecretCustody.md)
|
|
44
|
-
- [PersistentVaultSecretRepository](classes/PersistentVaultSecretRepository.md)
|
|
45
|
-
- [RandomIdGenerator](classes/RandomIdGenerator.md)
|
|
46
|
-
- [SignatureAgentProofVerifier](classes/SignatureAgentProofVerifier.md)
|
|
47
|
-
- [SignatureOwnerProofVerifier](classes/SignatureOwnerProofVerifier.md)
|
|
48
|
-
- [SystemClock](classes/SystemClock.md)
|
|
14
|
+
- [VaultCore](classes/VaultCore.md)
|
|
49
15
|
- [VaultCoreError](classes/VaultCoreError.md)
|
|
50
16
|
|
|
51
17
|
## Interfaces
|
|
52
18
|
|
|
53
|
-
- [AgentCapability](interfaces/AgentCapability.md)
|
|
54
19
|
- [AgentClient](interfaces/AgentClient.md)
|
|
55
20
|
- [AgentDispatchIntent](interfaces/AgentDispatchIntent.md)
|
|
56
21
|
- [AgentDispatchTransport](interfaces/AgentDispatchTransport.md)
|
|
57
22
|
- [AgentIdentity](interfaces/AgentIdentity.md)
|
|
58
|
-
- [AgentIdentityRecord](interfaces/AgentIdentityRecord.md)
|
|
59
|
-
- [AgentIdentityRegistry](interfaces/AgentIdentityRegistry.md)
|
|
60
|
-
- [AgentProof](interfaces/AgentProof.md)
|
|
61
|
-
- [AgentProofVerifier](interfaces/AgentProofVerifier.md)
|
|
62
23
|
- [AgentSigner](interfaces/AgentSigner.md)
|
|
63
|
-
- [AuditEntry](interfaces/AuditEntry.md)
|
|
64
|
-
- [AuditLog](interfaces/AuditLog.md)
|
|
65
|
-
- [AuditQuery](interfaces/AuditQuery.md)
|
|
66
|
-
- [CapabilityRegistry](interfaces/CapabilityRegistry.md)
|
|
67
|
-
- [CapabilityRevocationRegistry](interfaces/CapabilityRevocationRegistry.md)
|
|
68
24
|
- [CbioRuntime](interfaces/CbioRuntime.md)
|
|
69
|
-
- [ChildIdentity](interfaces/ChildIdentity.md)
|
|
70
|
-
- [Clock](interfaces/Clock.md)
|
|
71
25
|
- [CreateAgentClientOptions](interfaces/CreateAgentClientOptions.md)
|
|
72
|
-
- [CreateChildIdentityOptions](interfaces/CreateChildIdentityOptions.md)
|
|
73
|
-
- [CreateDefaultVaultCoreDependenciesOptions](interfaces/CreateDefaultVaultCoreDependenciesOptions.md)
|
|
74
26
|
- [CreatedVault](interfaces/CreatedVault.md)
|
|
75
27
|
- [CreateIdentityOptions](interfaces/CreateIdentityOptions.md)
|
|
76
28
|
- [CreatePersistentVaultCoreDependenciesOptions](interfaces/CreatePersistentVaultCoreDependenciesOptions.md)
|
|
77
29
|
- [CreateVaultClientOptions](interfaces/CreateVaultClientOptions.md)
|
|
78
30
|
- [CreateVaultOptions](interfaces/CreateVaultOptions.md)
|
|
79
|
-
- [CustomHttpFlowDefinition](interfaces/CustomHttpFlowDefinition.md)
|
|
80
|
-
- [CustomHttpFlowRegistry](interfaces/CustomHttpFlowRegistry.md)
|
|
81
31
|
- [DefaultPolicyEngineOptions](interfaces/DefaultPolicyEngineOptions.md)
|
|
82
|
-
- [DeriveIdentityOptions](interfaces/DeriveIdentityOptions.md)
|
|
83
|
-
- [DispatchAuthorization](interfaces/DispatchAuthorization.md)
|
|
84
|
-
- [DispatchInstruction](interfaces/DispatchInstruction.md)
|
|
85
|
-
- [DispatchRequest](interfaces/DispatchRequest.md)
|
|
86
|
-
- [DispatchResult](interfaces/DispatchResult.md)
|
|
87
|
-
- [IdentityPrivateVaultChildRecord](interfaces/IdentityPrivateVaultChildRecord.md)
|
|
88
|
-
- [IdentityPrivateVaultChildrenState](interfaces/IdentityPrivateVaultChildrenState.md)
|
|
89
|
-
- [IdentityPrivateVaultProfile](interfaces/IdentityPrivateVaultProfile.md)
|
|
90
|
-
- [IdGenerator](interfaces/IdGenerator.md)
|
|
91
32
|
- [InitializedVaultCustody](interfaces/InitializedVaultCustody.md)
|
|
92
33
|
- [InitializeVaultCustodyOptions](interfaces/InitializeVaultCustodyOptions.md)
|
|
93
|
-
- [IssuerWriteSecretCommand](interfaces/IssuerWriteSecretCommand.md)
|
|
94
34
|
- [IStorageProvider](interfaces/IStorageProvider.md)
|
|
95
|
-
- [OwnerAuditRequest](interfaces/OwnerAuditRequest.md)
|
|
96
|
-
- [OwnerDefineSecretTargetsCommand](interfaces/OwnerDefineSecretTargetsCommand.md)
|
|
97
35
|
- [OwnerDefineSecretTargetsInput](interfaces/OwnerDefineSecretTargetsInput.md)
|
|
98
|
-
- [OwnerDeleteSecretCommand](interfaces/OwnerDeleteSecretCommand.md)
|
|
99
|
-
- [OwnerExportSecretRequest](interfaces/OwnerExportSecretRequest.md)
|
|
100
|
-
- [OwnerHttpFlowBoundary](interfaces/OwnerHttpFlowBoundary.md)
|
|
101
|
-
- [OwnerIdentityRecord](interfaces/OwnerIdentityRecord.md)
|
|
102
|
-
- [OwnerIdentityRegistry](interfaces/OwnerIdentityRegistry.md)
|
|
103
|
-
- [OwnerListAgentsRequest](interfaces/OwnerListAgentsRequest.md)
|
|
104
|
-
- [OwnerListCapabilitiesRequest](interfaces/OwnerListCapabilitiesRequest.md)
|
|
105
|
-
- [OwnerProof](interfaces/OwnerProof.md)
|
|
106
|
-
- [OwnerProofVerifier](interfaces/OwnerProofVerifier.md)
|
|
107
|
-
- [OwnerRegisterAgentIdentityCommand](interfaces/OwnerRegisterAgentIdentityCommand.md)
|
|
108
|
-
- [OwnerRegisterCapabilityCommand](interfaces/OwnerRegisterCapabilityCommand.md)
|
|
109
|
-
- [OwnerRegisterCustomHttpFlowCommand](interfaces/OwnerRegisterCustomHttpFlowCommand.md)
|
|
110
|
-
- [OwnerRevokeCapabilityCommand](interfaces/OwnerRevokeCapabilityCommand.md)
|
|
111
|
-
- [OwnerSecretExport](interfaces/OwnerSecretExport.md)
|
|
112
36
|
- [OwnerSecretTargetBinding](interfaces/OwnerSecretTargetBinding.md)
|
|
113
37
|
- [OwnerStoreSecretInput](interfaces/OwnerStoreSecretInput.md)
|
|
114
|
-
- [OwnerWriteSecretCommand](interfaces/OwnerWriteSecretCommand.md)
|
|
115
38
|
- [OwnerWriteSecretInput](interfaces/OwnerWriteSecretInput.md)
|
|
116
|
-
- [PolicyEngine](interfaces/PolicyEngine.md)
|
|
117
|
-
- [RateLimitStore](interfaces/RateLimitStore.md)
|
|
118
39
|
- [RecoveredVault](interfaces/RecoveredVault.md)
|
|
119
40
|
- [RecoverVaultOptions](interfaces/RecoverVaultOptions.md)
|
|
120
|
-
- [ReplayGuard](interfaces/ReplayGuard.md)
|
|
121
41
|
- [RestoreIdentityOptions](interfaces/RestoreIdentityOptions.md)
|
|
122
|
-
- [SecretAlias](interfaces/SecretAlias.md)
|
|
123
|
-
- [SecretCustody](interfaces/SecretCustody.md)
|
|
124
|
-
- [SecretId](interfaces/SecretId.md)
|
|
125
|
-
- [SecretRecord](interfaces/SecretRecord.md)
|
|
126
|
-
- [SecretRepository](interfaces/SecretRepository.md)
|
|
127
|
-
- [SecretVersion](interfaces/SecretVersion.md)
|
|
128
|
-
- [SignatureAgentProofVerifierOptions](interfaces/SignatureAgentProofVerifierOptions.md)
|
|
129
42
|
- [Signer](interfaces/Signer.md)
|
|
130
|
-
- [TrustedExecutor](interfaces/TrustedExecutor.md)
|
|
131
|
-
- [VaultAcquireSecretInput](interfaces/VaultAcquireSecretInput.md)
|
|
132
|
-
- [VaultAcquireSecretResult](interfaces/VaultAcquireSecretResult.md)
|
|
133
|
-
- [VaultAgentDispatchErrorResponse](interfaces/VaultAgentDispatchErrorResponse.md)
|
|
134
|
-
- [VaultAgentDispatchRequest](interfaces/VaultAgentDispatchRequest.md)
|
|
135
|
-
- [VaultAgentDispatchResponse](interfaces/VaultAgentDispatchResponse.md)
|
|
136
43
|
- [VaultAuditQueryInput](interfaces/VaultAuditQueryInput.md)
|
|
137
44
|
- [VaultClient](interfaces/VaultClient.md)
|
|
138
|
-
- [
|
|
139
|
-
- [VaultCoreDependencies](interfaces/VaultCoreDependencies.md)
|
|
140
|
-
- [VaultCustomFlowResolver](interfaces/VaultCustomFlowResolver.md)
|
|
45
|
+
- [VaultCoreDependenciesOptions](interfaces/VaultCoreDependenciesOptions.md)
|
|
141
46
|
- [VaultDeleteSecretInput](interfaces/VaultDeleteSecretInput.md)
|
|
142
47
|
- [VaultExportSecretInput](interfaces/VaultExportSecretInput.md)
|
|
143
48
|
- [VaultGrantCapabilityInput](interfaces/VaultGrantCapabilityInput.md)
|
|
144
|
-
- [VaultId](interfaces/VaultId.md)
|
|
145
49
|
- [VaultIdentity](interfaces/VaultIdentity.md)
|
|
146
50
|
- [VaultListAgentsInput](interfaces/VaultListAgentsInput.md)
|
|
147
51
|
- [VaultListCapabilitiesInput](interfaces/VaultListCapabilitiesInput.md)
|
|
148
52
|
- [VaultObject](interfaces/VaultObject.md)
|
|
149
|
-
- [VaultPrincipal](interfaces/VaultPrincipal.md)
|
|
150
53
|
- [VaultProfile](interfaces/VaultProfile.md)
|
|
151
54
|
- [VaultPublicMetadata](interfaces/VaultPublicMetadata.md)
|
|
152
55
|
- [VaultRegisterAgentInput](interfaces/VaultRegisterAgentInput.md)
|
|
153
56
|
- [VaultRegisterFlowInput](interfaces/VaultRegisterFlowInput.md)
|
|
154
57
|
- [VaultRevokeCapabilityInput](interfaces/VaultRevokeCapabilityInput.md)
|
|
155
|
-
- [VaultService](interfaces/VaultService.md)
|
|
156
58
|
- [VaultSigner](interfaces/VaultSigner.md)
|
|
157
|
-
- [VaultTargetBinding](interfaces/VaultTargetBinding.md)
|
|
158
59
|
|
|
159
60
|
## Type Aliases
|
|
160
61
|
|
|
161
62
|
- [AgentCapabilityEnvelope](type-aliases/AgentCapabilityEnvelope.md)
|
|
162
63
|
- [CbioRuntimeModule](type-aliases/CbioRuntimeModule.md)
|
|
163
|
-
- [IdentityPrivateVaultAccess](type-aliases/IdentityPrivateVaultAccess.md)
|
|
164
|
-
- [RedactedResponseShape](type-aliases/RedactedResponseShape.md)
|
|
165
|
-
- [VaultAcquireSecretFlow](type-aliases/VaultAcquireSecretFlow.md)
|
|
166
|
-
- [VaultPrincipalKind](type-aliases/VaultPrincipalKind.md)
|
|
167
|
-
- [VaultWriteSecretCommand](type-aliases/VaultWriteSecretCommand.md)
|
|
168
64
|
|
|
169
65
|
## Variables
|
|
170
66
|
|
|
@@ -173,8 +69,6 @@
|
|
|
173
69
|
## Functions
|
|
174
70
|
|
|
175
71
|
- [createAgentClient](functions/createAgentClient.md)
|
|
176
|
-
- [createChildIdentity](functions/createChildIdentity.md)
|
|
177
|
-
- [createDefaultVaultCoreDependencies](functions/createDefaultVaultCoreDependencies.md)
|
|
178
72
|
- [createIdentity](functions/createIdentity.md)
|
|
179
73
|
- [createOwnerHttpFlowBoundary](functions/createOwnerHttpFlowBoundary.md)
|
|
180
74
|
- [createPersistentVaultCoreDependencies](functions/createPersistentVaultCoreDependencies.md)
|
|
@@ -183,29 +77,19 @@
|
|
|
183
77
|
- [createVault](functions/createVault.md)
|
|
184
78
|
- [createVaultClient](functions/createVaultClient.md)
|
|
185
79
|
- [createVaultCore](functions/createVaultCore.md)
|
|
80
|
+
- [createVaultCoreDependencies](functions/createVaultCoreDependencies.md)
|
|
186
81
|
- [createVaultService](functions/createVaultService.md)
|
|
187
82
|
- [createWorkspaceStorage](functions/createWorkspaceStorage.md)
|
|
188
|
-
- [deriveChildIdentity](functions/deriveChildIdentity.md)
|
|
189
83
|
- [deriveIdentityId](functions/deriveIdentityId.md)
|
|
190
|
-
- [
|
|
84
|
+
- [deriveVaultWorkingKeyFromPassword](functions/deriveVaultWorkingKeyFromPassword.md)
|
|
191
85
|
- [getDefaultWorkspaceDir](functions/getDefaultWorkspaceDir.md)
|
|
192
86
|
- [handleVaultHttpDispatch](functions/handleVaultHttpDispatch.md)
|
|
193
|
-
- [identityPrivateVaultChildrenKey](functions/identityPrivateVaultChildrenKey.md)
|
|
194
|
-
- [identityPrivateVaultPrefix](functions/identityPrivateVaultPrefix.md)
|
|
195
|
-
- [identityPrivateVaultProfileKey](functions/identityPrivateVaultProfileKey.md)
|
|
196
|
-
- [identityPrivateVaultPublicSealedKey](functions/identityPrivateVaultPublicSealedKey.md)
|
|
197
87
|
- [initializeVaultCustody](functions/initializeVaultCustody.md)
|
|
198
|
-
- [listIdentities](functions/listIdentities.md)
|
|
199
88
|
- [listVaults](functions/listVaults.md)
|
|
200
|
-
- [readIdentityMetadata](functions/readIdentityMetadata.md)
|
|
201
|
-
- [readIdentityPrivateVaultChildrenState](functions/readIdentityPrivateVaultChildrenState.md)
|
|
202
|
-
- [readIdentityPrivateVaultProfile](functions/readIdentityPrivateVaultProfile.md)
|
|
203
89
|
- [readVaultProfile](functions/readVaultProfile.md)
|
|
204
|
-
- [readVaultPublicMetadata](functions/readVaultPublicMetadata.md)
|
|
205
90
|
- [recoverVault](functions/recoverVault.md)
|
|
206
91
|
- [recoverVaultWorkingKey](functions/recoverVaultWorkingKey.md)
|
|
207
92
|
- [restoreIdentity](functions/restoreIdentity.md)
|
|
208
|
-
- [toOwnerHttpFlowBoundary](functions/toOwnerHttpFlowBoundary.md)
|
|
209
93
|
- [updateVaultMetadata](functions/updateVaultMetadata.md)
|
|
210
94
|
- [wrapVaultCoreAsVaultService](functions/wrapVaultCoreAsVaultService.md)
|
|
211
95
|
- [writeVaultProfile](functions/writeVaultProfile.md)
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.46.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Class: VaultCore
|
|
6
|
+
|
|
7
|
+
The Sovereign Vault Core.
|
|
8
|
+
This is the primary implementation of the Vault logic.
|
|
9
|
+
|
|
10
|
+
## Constructors
|
|
11
|
+
|
|
12
|
+
### Constructor
|
|
13
|
+
|
|
14
|
+
> **new VaultCore**(`_deps`): `VaultCore`
|
|
15
|
+
|
|
16
|
+
#### Parameters
|
|
17
|
+
|
|
18
|
+
##### \_deps
|
|
19
|
+
|
|
20
|
+
`VaultCoreDependencies`
|
|
21
|
+
|
|
22
|
+
#### Returns
|
|
23
|
+
|
|
24
|
+
`VaultCore`
|
|
25
|
+
|
|
26
|
+
## Accessors
|
|
27
|
+
|
|
28
|
+
### vaultId
|
|
29
|
+
|
|
30
|
+
#### Get Signature
|
|
31
|
+
|
|
32
|
+
> **get** **vaultId**(): `VaultId`
|
|
33
|
+
|
|
34
|
+
##### Returns
|
|
35
|
+
|
|
36
|
+
`VaultId`
|
|
37
|
+
|
|
38
|
+
## Methods
|
|
39
|
+
|
|
40
|
+
### authorizeDispatch()
|
|
41
|
+
|
|
42
|
+
> **authorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
|
|
43
|
+
|
|
44
|
+
#### Parameters
|
|
45
|
+
|
|
46
|
+
##### request
|
|
47
|
+
|
|
48
|
+
`DispatchRequest`
|
|
49
|
+
|
|
50
|
+
#### Returns
|
|
51
|
+
|
|
52
|
+
`Promise`\<`DispatchAuthorization`\>
|
|
53
|
+
|
|
54
|
+
***
|
|
55
|
+
|
|
56
|
+
### defineSecretTargets()
|
|
57
|
+
|
|
58
|
+
> **defineSecretTargets**(`command`): `Promise`\<`SecretRecord`\>
|
|
59
|
+
|
|
60
|
+
#### Parameters
|
|
61
|
+
|
|
62
|
+
##### command
|
|
63
|
+
|
|
64
|
+
`OwnerDefineSecretTargetsCommand`
|
|
65
|
+
|
|
66
|
+
#### Returns
|
|
67
|
+
|
|
68
|
+
`Promise`\<`SecretRecord`\>
|
|
69
|
+
|
|
70
|
+
***
|
|
71
|
+
|
|
72
|
+
### deleteSecret()
|
|
73
|
+
|
|
74
|
+
> **deleteSecret**(`command`): `Promise`\<`void`\>
|
|
75
|
+
|
|
76
|
+
#### Parameters
|
|
77
|
+
|
|
78
|
+
##### command
|
|
79
|
+
|
|
80
|
+
`OwnerDeleteSecretCommand`
|
|
81
|
+
|
|
82
|
+
#### Returns
|
|
83
|
+
|
|
84
|
+
`Promise`\<`void`\>
|
|
85
|
+
|
|
86
|
+
***
|
|
87
|
+
|
|
88
|
+
### dispatchSecret()
|
|
89
|
+
|
|
90
|
+
> **dispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
|
|
91
|
+
|
|
92
|
+
#### Parameters
|
|
93
|
+
|
|
94
|
+
##### request
|
|
95
|
+
|
|
96
|
+
`DispatchRequest`
|
|
97
|
+
|
|
98
|
+
#### Returns
|
|
99
|
+
|
|
100
|
+
`Promise`\<`DispatchResult`\>
|
|
101
|
+
|
|
102
|
+
***
|
|
103
|
+
|
|
104
|
+
### exportSecret()
|
|
105
|
+
|
|
106
|
+
> **exportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
|
|
107
|
+
|
|
108
|
+
#### Parameters
|
|
109
|
+
|
|
110
|
+
##### actor
|
|
111
|
+
|
|
112
|
+
`VaultPrincipal` & `object`
|
|
113
|
+
|
|
114
|
+
##### alias
|
|
115
|
+
|
|
116
|
+
`string`
|
|
117
|
+
|
|
118
|
+
##### request?
|
|
119
|
+
|
|
120
|
+
`Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
|
|
121
|
+
|
|
122
|
+
#### Returns
|
|
123
|
+
|
|
124
|
+
`Promise`\<`OwnerSecretExport`\>
|
|
125
|
+
|
|
126
|
+
***
|
|
127
|
+
|
|
128
|
+
### getAudit()
|
|
129
|
+
|
|
130
|
+
> **getAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
|
|
131
|
+
|
|
132
|
+
#### Parameters
|
|
133
|
+
|
|
134
|
+
##### actor
|
|
135
|
+
|
|
136
|
+
`VaultPrincipal` & `object`
|
|
137
|
+
|
|
138
|
+
##### query
|
|
139
|
+
|
|
140
|
+
`AuditQuery`
|
|
141
|
+
|
|
142
|
+
##### request?
|
|
143
|
+
|
|
144
|
+
`Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
|
|
145
|
+
|
|
146
|
+
#### Returns
|
|
147
|
+
|
|
148
|
+
`Promise`\<readonly `AuditEntry`[]\>
|
|
149
|
+
|
|
150
|
+
***
|
|
151
|
+
|
|
152
|
+
### getCapability()
|
|
153
|
+
|
|
154
|
+
> **getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
|
|
155
|
+
|
|
156
|
+
#### Parameters
|
|
157
|
+
|
|
158
|
+
##### vaultId
|
|
159
|
+
|
|
160
|
+
`VaultId`
|
|
161
|
+
|
|
162
|
+
##### agentId
|
|
163
|
+
|
|
164
|
+
`string`
|
|
165
|
+
|
|
166
|
+
##### capabilityId
|
|
167
|
+
|
|
168
|
+
`string`
|
|
169
|
+
|
|
170
|
+
#### Returns
|
|
171
|
+
|
|
172
|
+
`Promise`\<`AgentCapability` \| `null`\>
|
|
173
|
+
|
|
174
|
+
***
|
|
175
|
+
|
|
176
|
+
### listAgents()
|
|
177
|
+
|
|
178
|
+
> **listAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
179
|
+
|
|
180
|
+
#### Parameters
|
|
181
|
+
|
|
182
|
+
##### actor
|
|
183
|
+
|
|
184
|
+
`VaultPrincipal` & `object`
|
|
185
|
+
|
|
186
|
+
##### request?
|
|
187
|
+
|
|
188
|
+
`Omit`\<`OwnerListAgentsRequest`, `"vaultId"` \| `"actor"`\>
|
|
189
|
+
|
|
190
|
+
#### Returns
|
|
191
|
+
|
|
192
|
+
`Promise`\<readonly `AgentIdentityRecord`[]\>
|
|
193
|
+
|
|
194
|
+
***
|
|
195
|
+
|
|
196
|
+
### listCapabilities()
|
|
197
|
+
|
|
198
|
+
> **listCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
|
|
199
|
+
|
|
200
|
+
#### Parameters
|
|
201
|
+
|
|
202
|
+
##### actor
|
|
203
|
+
|
|
204
|
+
`VaultPrincipal` & `object`
|
|
205
|
+
|
|
206
|
+
##### agentId?
|
|
207
|
+
|
|
208
|
+
`string`
|
|
209
|
+
|
|
210
|
+
##### request?
|
|
211
|
+
|
|
212
|
+
`Omit`\<`OwnerListCapabilitiesRequest`, `"vaultId"` \| `"actor"` \| `"agentId"`\>
|
|
213
|
+
|
|
214
|
+
#### Returns
|
|
215
|
+
|
|
216
|
+
`Promise`\<readonly `AgentCapability`[]\>
|
|
217
|
+
|
|
218
|
+
***
|
|
219
|
+
|
|
220
|
+
### registerAgentIdentity()
|
|
221
|
+
|
|
222
|
+
> **registerAgentIdentity**(`command`): `Promise`\<`void`\>
|
|
223
|
+
|
|
224
|
+
#### Parameters
|
|
225
|
+
|
|
226
|
+
##### command
|
|
227
|
+
|
|
228
|
+
`OwnerRegisterAgentIdentityCommand`
|
|
229
|
+
|
|
230
|
+
#### Returns
|
|
231
|
+
|
|
232
|
+
`Promise`\<`void`\>
|
|
233
|
+
|
|
234
|
+
***
|
|
235
|
+
|
|
236
|
+
### registerCapability()
|
|
237
|
+
|
|
238
|
+
> **registerCapability**(`command`): `Promise`\<`void`\>
|
|
239
|
+
|
|
240
|
+
#### Parameters
|
|
241
|
+
|
|
242
|
+
##### command
|
|
243
|
+
|
|
244
|
+
`OwnerRegisterCapabilityCommand`
|
|
245
|
+
|
|
246
|
+
#### Returns
|
|
247
|
+
|
|
248
|
+
`Promise`\<`void`\>
|
|
249
|
+
|
|
250
|
+
***
|
|
251
|
+
|
|
252
|
+
### registerCustomFlow()
|
|
253
|
+
|
|
254
|
+
> **registerCustomFlow**(`command`): `Promise`\<`void`\>
|
|
255
|
+
|
|
256
|
+
#### Parameters
|
|
257
|
+
|
|
258
|
+
##### command
|
|
259
|
+
|
|
260
|
+
`OwnerRegisterCustomHttpFlowCommand`
|
|
261
|
+
|
|
262
|
+
#### Returns
|
|
263
|
+
|
|
264
|
+
`Promise`\<`void`\>
|
|
265
|
+
|
|
266
|
+
***
|
|
267
|
+
|
|
268
|
+
### revokeCapability()
|
|
269
|
+
|
|
270
|
+
> **revokeCapability**(`command`): `Promise`\<`void`\>
|
|
271
|
+
|
|
272
|
+
#### Parameters
|
|
273
|
+
|
|
274
|
+
##### command
|
|
275
|
+
|
|
276
|
+
`OwnerRevokeCapabilityCommand`
|
|
277
|
+
|
|
278
|
+
#### Returns
|
|
279
|
+
|
|
280
|
+
`Promise`\<`void`\>
|
|
281
|
+
|
|
282
|
+
***
|
|
283
|
+
|
|
284
|
+
### storeCustomFlowSecret()
|
|
285
|
+
|
|
286
|
+
> **storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
|
|
287
|
+
|
|
288
|
+
#### Parameters
|
|
289
|
+
|
|
290
|
+
##### flow
|
|
291
|
+
|
|
292
|
+
`CustomHttpFlowDefinition`
|
|
293
|
+
|
|
294
|
+
##### alias
|
|
295
|
+
|
|
296
|
+
`string`
|
|
297
|
+
|
|
298
|
+
##### plaintext
|
|
299
|
+
|
|
300
|
+
`string`
|
|
301
|
+
|
|
302
|
+
#### Returns
|
|
303
|
+
|
|
304
|
+
`Promise`\<`SecretRecord`\>
|
|
305
|
+
|
|
306
|
+
***
|
|
307
|
+
|
|
308
|
+
### writeSecret()
|
|
309
|
+
|
|
310
|
+
> **writeSecret**(`command`): `Promise`\<`SecretRecord`\>
|
|
311
|
+
|
|
312
|
+
#### Parameters
|
|
313
|
+
|
|
314
|
+
##### command
|
|
315
|
+
|
|
316
|
+
`VaultWriteSecretCommand`
|
|
317
|
+
|
|
318
|
+
#### Returns
|
|
319
|
+
|
|
320
|
+
`Promise`\<`SecretRecord`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.46.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
> **createIdentity**(`options?`): `CreatedIdentity`
|
|
8
8
|
|
|
9
|
-
Creates a new
|
|
9
|
+
Creates a new identity with a fresh Ed25519 keypair.
|
|
10
10
|
|
|
11
11
|
## Parameters
|
|
12
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.46.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: createOwnerHttpFlowBoundary()
|
|
6
6
|
|
|
7
|
-
> **createOwnerHttpFlowBoundary**(`boundary`):
|
|
7
|
+
> **createOwnerHttpFlowBoundary**(`boundary`): `OwnerHttpFlowBoundary`
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
11
11
|
### boundary
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`OwnerHttpFlowBoundary`
|
|
14
14
|
|
|
15
15
|
## Returns
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
`OwnerHttpFlowBoundary`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.46.0**](../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,68 +18,4 @@
|
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
|
21
|
-
`
|
|
22
|
-
|
|
23
|
-
### agentIdentities
|
|
24
|
-
|
|
25
|
-
> **agentIdentities**: [`PersistentVaultAgentIdentityRegistry`](../classes/PersistentVaultAgentIdentityRegistry.md)
|
|
26
|
-
|
|
27
|
-
### audit
|
|
28
|
-
|
|
29
|
-
> **audit**: [`PersistentVaultAuditLog`](../classes/PersistentVaultAuditLog.md)
|
|
30
|
-
|
|
31
|
-
### capabilities
|
|
32
|
-
|
|
33
|
-
> **capabilities**: [`PersistentVaultCapabilityRegistry`](../classes/PersistentVaultCapabilityRegistry.md)
|
|
34
|
-
|
|
35
|
-
### capabilityRevocations
|
|
36
|
-
|
|
37
|
-
> **capabilityRevocations**: [`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md)
|
|
38
|
-
|
|
39
|
-
### clock
|
|
40
|
-
|
|
41
|
-
> **clock**: [`SystemClock`](../classes/SystemClock.md)
|
|
42
|
-
|
|
43
|
-
### custody
|
|
44
|
-
|
|
45
|
-
> **custody**: [`PersistentVaultSecretCustody`](../classes/PersistentVaultSecretCustody.md)
|
|
46
|
-
|
|
47
|
-
### customFlows
|
|
48
|
-
|
|
49
|
-
> **customFlows**: [`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md)
|
|
50
|
-
|
|
51
|
-
### executor
|
|
52
|
-
|
|
53
|
-
> **executor**: [`HttpDispatchExecutor`](../classes/HttpDispatchExecutor.md)
|
|
54
|
-
|
|
55
|
-
### ids
|
|
56
|
-
|
|
57
|
-
> **ids**: [`RandomIdGenerator`](../classes/RandomIdGenerator.md)
|
|
58
|
-
|
|
59
|
-
### ownerIdentities
|
|
60
|
-
|
|
61
|
-
> **ownerIdentities**: [`PersistentVaultOwnerIdentityRegistry`](../classes/PersistentVaultOwnerIdentityRegistry.md)
|
|
62
|
-
|
|
63
|
-
### ownerProofVerifier
|
|
64
|
-
|
|
65
|
-
> **ownerProofVerifier**: [`SignatureOwnerProofVerifier`](../classes/SignatureOwnerProofVerifier.md)
|
|
66
|
-
|
|
67
|
-
### policy
|
|
68
|
-
|
|
69
|
-
> **policy**: [`DefaultPolicyEngine`](../classes/DefaultPolicyEngine.md)
|
|
70
|
-
|
|
71
|
-
### proofVerifier
|
|
72
|
-
|
|
73
|
-
> **proofVerifier**: [`SignatureAgentProofVerifier`](../classes/SignatureAgentProofVerifier.md)
|
|
74
|
-
|
|
75
|
-
### replayGuard
|
|
76
|
-
|
|
77
|
-
> **replayGuard**: [`ReplayGuard`](../interfaces/ReplayGuard.md)
|
|
78
|
-
|
|
79
|
-
### secrets
|
|
80
|
-
|
|
81
|
-
> **secrets**: [`PersistentVaultSecretRepository`](../classes/PersistentVaultSecretRepository.md)
|
|
82
|
-
|
|
83
|
-
### vaultId
|
|
84
|
-
|
|
85
|
-
> **vaultId**: [`VaultId`](../interfaces/VaultId.md)
|
|
21
|
+
`VaultCoreDependencies`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.46.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
5
|
# Function: createStandardAcquireBoundary()
|
|
6
6
|
|
|
7
|
-
> **createStandardAcquireBoundary**(`input`):
|
|
7
|
+
> **createStandardAcquireBoundary**(`input`): `OwnerHttpFlowBoundary`
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
|
|
29
29
|
## Returns
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
`OwnerHttpFlowBoundary`
|