@the-ai-company/cbio-node-runtime 1.43.0 → 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.
- package/dist/clients/agent/client.d.ts +35 -0
- package/dist/clients/agent/client.js +15 -0
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/owner/client.d.ts +60 -0
- package/dist/clients/owner/client.js +14 -0
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/protocol/crypto.d.ts +3 -0
- package/dist/protocol/crypto.js +3 -0
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +43 -7
- package/dist/runtime/bootstrap.js +12 -1
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +47 -0
- package/dist/runtime/identity.js +25 -0
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +5 -11
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/private-vault.d.ts +1 -2
- 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/core.d.ts +3 -0
- package/dist/vault-core/core.js +3 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +45 -0
- package/dist/vault-core/defaults.js +45 -0
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +30 -0
- package/dist/vault-core/persistence.js +30 -0
- package/dist/vault-core/persistence.js.map +1 -1
- 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/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 +180 -0
- package/docs/api/classes/IdentityError.md +62 -0
- package/docs/api/classes/InMemoryReplayGuard.md +45 -0
- package/docs/api/classes/VaultCoreError.md +39 -0
- package/docs/api/enumerations/AuditAction.md +95 -0
- package/docs/api/enumerations/AuditOutcome.md +29 -0
- package/docs/api/enumerations/DispatchStatus.md +23 -0
- package/docs/api/enumerations/IdentityErrorCode.md +121 -0
- package/docs/api/functions/createAgentClient.md +33 -0
- package/docs/api/functions/createChildIdentity.md +25 -0
- package/docs/api/functions/createDefaultVaultCoreDependencies.md +77 -0
- package/docs/api/functions/createIdentity.md +30 -0
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +17 -0
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +85 -0
- package/docs/api/functions/createStandardAcquireBoundary.md +31 -0
- package/docs/api/functions/createStandardDispatchBoundary.md +23 -0
- package/docs/api/functions/createVault.md +58 -0
- package/docs/api/functions/createVaultClient.md +32 -0
- package/docs/api/functions/createVaultCore.md +17 -0
- package/docs/api/functions/createVaultService.md +31 -0
- package/docs/api/functions/createWorkspaceStorage.md +17 -0
- package/docs/api/functions/deriveChildIdentity.md +41 -0
- package/docs/api/functions/deriveIdentityId.md +17 -0
- package/docs/api/functions/ensureIdentityPrivateVault.md +21 -0
- package/docs/api/functions/getDefaultWorkspaceDir.md +11 -0
- package/docs/api/functions/handleVaultHttpDispatch.md +30 -0
- package/docs/api/functions/identityPrivateVaultChildrenKey.md +17 -0
- package/docs/api/functions/identityPrivateVaultPrefix.md +17 -0
- package/docs/api/functions/identityPrivateVaultProfileKey.md +17 -0
- package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +17 -0
- package/docs/api/functions/initializeVaultCustody.md +21 -0
- package/docs/api/functions/listIdentities.md +19 -0
- package/docs/api/functions/listVaults.md +23 -0
- package/docs/api/functions/readIdentityMetadata.md +29 -0
- package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +21 -0
- package/docs/api/functions/readIdentityPrivateVaultProfile.md +21 -0
- package/docs/api/functions/readVaultProfile.md +25 -0
- package/docs/api/functions/readVaultPublicMetadata.md +23 -0
- package/docs/api/functions/recoverVault.md +58 -0
- package/docs/api/functions/recoverVaultWorkingKey.md +25 -0
- package/docs/api/functions/restoreIdentity.md +35 -0
- package/docs/api/functions/toOwnerHttpFlowBoundary.md +17 -0
- package/docs/api/functions/updateVaultMetadata.md +33 -0
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +31 -0
- package/docs/api/functions/writeVaultProfile.md +29 -0
- package/docs/api/interfaces/AgentCapability.md +103 -0
- package/docs/api/interfaces/AgentClient.md +41 -0
- package/docs/api/interfaces/AgentDispatchIntent.md +41 -0
- package/docs/api/interfaces/AgentDispatchTransport.md +21 -0
- package/docs/api/interfaces/AgentIdentity.md +11 -0
- package/docs/api/interfaces/AgentIdentityRecord.md +23 -0
- package/docs/api/interfaces/AgentIdentityRegistry.md +57 -0
- package/docs/api/interfaces/AgentProof.md +29 -0
- package/docs/api/interfaces/AgentProofVerifier.md +21 -0
- package/docs/api/interfaces/AgentSigner.md +21 -0
- package/docs/api/interfaces/AuditEntry.md +89 -0
- package/docs/api/interfaces/AuditLog.md +37 -0
- package/docs/api/interfaces/AuditQuery.md +29 -0
- package/docs/api/interfaces/CapabilityRegistry.md +65 -0
- package/docs/api/interfaces/CapabilityRevocationRegistry.md +53 -0
- package/docs/api/interfaces/CbioRuntime.md +886 -0
- package/docs/api/interfaces/ChildIdentity.md +77 -0
- package/docs/api/interfaces/Clock.md +15 -0
- package/docs/api/interfaces/CreateAgentClientOptions.md +41 -0
- package/docs/api/interfaces/CreateChildIdentityOptions.md +19 -0
- package/docs/api/interfaces/CreateDefaultVaultCoreDependenciesOptions.md +85 -0
- package/docs/api/interfaces/CreateIdentityOptions.md +15 -0
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +115 -0
- package/docs/api/interfaces/CreateVaultClientOptions.md +29 -0
- package/docs/api/interfaces/CreateVaultOptions.md +177 -0
- package/docs/api/interfaces/CreatedVault.md +39 -0
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +71 -0
- package/docs/api/interfaces/CustomHttpFlowRegistry.md +41 -0
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +49 -0
- package/docs/api/interfaces/DeriveIdentityOptions.md +11 -0
- package/docs/api/interfaces/DispatchAuthorization.md +35 -0
- package/docs/api/interfaces/DispatchInstruction.md +47 -0
- package/docs/api/interfaces/DispatchRequest.md +77 -0
- package/docs/api/interfaces/DispatchResult.md +53 -0
- package/docs/api/interfaces/IStorageProvider.md +144 -0
- package/docs/api/interfaces/IdGenerator.md +39 -0
- package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +35 -0
- package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +17 -0
- package/docs/api/interfaces/IdentityPrivateVaultProfile.md +35 -0
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +29 -0
- package/docs/api/interfaces/InitializedVaultCustody.md +23 -0
- package/docs/api/interfaces/IssuerWriteSecretCommand.md +59 -0
- package/docs/api/interfaces/OwnerAuditRequest.md +47 -0
- package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +53 -0
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +23 -0
- package/docs/api/interfaces/OwnerDeleteSecretCommand.md +47 -0
- package/docs/api/interfaces/OwnerExportSecretRequest.md +47 -0
- package/docs/api/interfaces/OwnerHttpFlowBoundary.md +51 -0
- package/docs/api/interfaces/OwnerIdentityRecord.md +23 -0
- package/docs/api/interfaces/OwnerIdentityRegistry.md +57 -0
- package/docs/api/interfaces/OwnerListAgentsRequest.md +41 -0
- package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +47 -0
- package/docs/api/interfaces/OwnerProof.md +29 -0
- package/docs/api/interfaces/OwnerProofVerifier.md +181 -0
- package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +47 -0
- package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +47 -0
- package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +83 -0
- package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +53 -0
- package/docs/api/interfaces/OwnerSecretExport.md +35 -0
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +35 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +23 -0
- package/docs/api/interfaces/OwnerWriteSecretCommand.md +65 -0
- package/docs/api/interfaces/OwnerWriteSecretInput.md +29 -0
- package/docs/api/interfaces/PolicyEngine.md +81 -0
- package/docs/api/interfaces/RateLimitStore.md +33 -0
- package/docs/api/interfaces/RecoverVaultOptions.md +165 -0
- package/docs/api/interfaces/RecoveredVault.md +49 -0
- package/docs/api/interfaces/ReplayGuard.md +21 -0
- package/docs/api/interfaces/RestoreIdentityOptions.md +11 -0
- package/docs/api/interfaces/SecretAlias.md +11 -0
- package/docs/api/interfaces/SecretCustody.md +57 -0
- package/docs/api/interfaces/SecretId.md +11 -0
- package/docs/api/interfaces/SecretRecord.md +53 -0
- package/docs/api/interfaces/SecretRepository.md +69 -0
- package/docs/api/interfaces/SecretVersion.md +11 -0
- package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +21 -0
- package/docs/api/interfaces/Signer.md +31 -0
- package/docs/api/interfaces/TrustedExecutor.md +31 -0
- package/docs/api/interfaces/VaultAcquireSecretInput.md +53 -0
- package/docs/api/interfaces/VaultAcquireSecretResult.md +41 -0
- package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +25 -0
- package/docs/api/interfaces/VaultAgentDispatchRequest.md +75 -0
- package/docs/api/interfaces/VaultAgentDispatchResponse.md +17 -0
- package/docs/api/interfaces/VaultAuditQueryInput.md +29 -0
- package/docs/api/interfaces/VaultClient.md +234 -0
- package/docs/api/interfaces/VaultCore.md +311 -0
- package/docs/api/interfaces/VaultCoreDependencies.md +95 -0
- package/docs/api/interfaces/VaultCustomFlowResolver.md +25 -0
- package/docs/api/interfaces/VaultDeleteSecretInput.md +17 -0
- package/docs/api/interfaces/VaultExportSecretInput.md +17 -0
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +17 -0
- package/docs/api/interfaces/VaultId.md +11 -0
- package/docs/api/interfaces/VaultIdentity.md +11 -0
- package/docs/api/interfaces/VaultListAgentsInput.md +11 -0
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +17 -0
- package/docs/api/interfaces/VaultObject.md +33 -0
- package/docs/api/interfaces/VaultPrincipal.md +17 -0
- package/docs/api/interfaces/VaultProfile.md +23 -0
- package/docs/api/interfaces/VaultPublicMetadata.md +25 -0
- package/docs/api/interfaces/VaultRegisterAgentInput.md +23 -0
- package/docs/api/interfaces/VaultRegisterFlowInput.md +83 -0
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +23 -0
- package/docs/api/interfaces/VaultService.md +251 -0
- package/docs/api/interfaces/VaultSigner.md +21 -0
- package/docs/api/interfaces/VaultTargetBinding.md +35 -0
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +9 -0
- package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +7 -0
- package/docs/api/type-aliases/RedactedResponseShape.md +7 -0
- package/docs/api/type-aliases/VaultAcquireSecretFlow.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
- package/docs/api/type-aliases/VaultWriteSecretCommand.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +7 -0
- package/package.json +10 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: CustomHttpFlowRegistry
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### get()
|
|
10
|
+
|
|
11
|
+
> **get**(`vaultId`, `flowId`): `Promise`\<[`CustomHttpFlowDefinition`](CustomHttpFlowDefinition.md) \| `null`\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### vaultId
|
|
16
|
+
|
|
17
|
+
[`VaultId`](VaultId.md)
|
|
18
|
+
|
|
19
|
+
##### flowId
|
|
20
|
+
|
|
21
|
+
`string`
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`Promise`\<[`CustomHttpFlowDefinition`](CustomHttpFlowDefinition.md) \| `null`\>
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### register()
|
|
30
|
+
|
|
31
|
+
> **register**(`flow`): `Promise`\<`void`\>
|
|
32
|
+
|
|
33
|
+
#### Parameters
|
|
34
|
+
|
|
35
|
+
##### flow
|
|
36
|
+
|
|
37
|
+
[`CustomHttpFlowDefinition`](CustomHttpFlowDefinition.md)
|
|
38
|
+
|
|
39
|
+
#### Returns
|
|
40
|
+
|
|
41
|
+
`Promise`\<`void`\>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: DefaultPolicyEngineOptions
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### capabilityRevocationRegistry?
|
|
10
|
+
|
|
11
|
+
> `optional` **capabilityRevocationRegistry?**: [`CapabilityRevocationRegistry`](CapabilityRevocationRegistry.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### now?
|
|
16
|
+
|
|
17
|
+
> `optional` **now?**: () => `Date`
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`Date`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### rateLimitStore?
|
|
26
|
+
|
|
27
|
+
> `optional` **rateLimitStore?**: [`RateLimitStore`](RateLimitStore.md)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### trustedIssuerIdResolver?
|
|
32
|
+
|
|
33
|
+
> `optional` **trustedIssuerIdResolver?**: (`issuerId`) => `boolean` \| `Promise`\<`boolean`\>
|
|
34
|
+
|
|
35
|
+
#### Parameters
|
|
36
|
+
|
|
37
|
+
##### issuerId
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`boolean` \| `Promise`\<`boolean`\>
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### trustedIssuerIds?
|
|
48
|
+
|
|
49
|
+
> `optional` **trustedIssuerIds?**: readonly `string`[]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: DispatchAuthorization
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### decision
|
|
10
|
+
|
|
11
|
+
> **decision**: `"allow"` \| `"deny"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### executorTarget
|
|
16
|
+
|
|
17
|
+
> **executorTarget**: [`VaultTargetBinding`](VaultTargetBinding.md) \| `null`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### reason
|
|
22
|
+
|
|
23
|
+
> **reason**: `string` \| `null`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### secretId
|
|
28
|
+
|
|
29
|
+
> **secretId**: [`SecretId`](SecretId.md) \| `null`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### vaultId
|
|
34
|
+
|
|
35
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: DispatchInstruction
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### body?
|
|
10
|
+
|
|
11
|
+
> `optional` **body?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### headers?
|
|
16
|
+
|
|
17
|
+
> `optional` **headers?**: `Record`\<`string`, `string`\>
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### method
|
|
22
|
+
|
|
23
|
+
> **method**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### requestId
|
|
28
|
+
|
|
29
|
+
> **requestId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### secretId
|
|
34
|
+
|
|
35
|
+
> **secretId**: [`SecretId`](SecretId.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### targetUrl
|
|
40
|
+
|
|
41
|
+
> **targetUrl**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### vaultId
|
|
46
|
+
|
|
47
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: DispatchRequest
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agent
|
|
10
|
+
|
|
11
|
+
> **agent**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
12
|
+
|
|
13
|
+
#### Type Declaration
|
|
14
|
+
|
|
15
|
+
##### kind
|
|
16
|
+
|
|
17
|
+
> **kind**: `"agent"`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### body?
|
|
22
|
+
|
|
23
|
+
> `optional` **body?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### capability
|
|
28
|
+
|
|
29
|
+
> **capability**: [`AgentCapability`](AgentCapability.md)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### headers?
|
|
34
|
+
|
|
35
|
+
> `optional` **headers?**: `Record`\<`string`, `string`\>
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### method
|
|
40
|
+
|
|
41
|
+
> **method**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### proof
|
|
46
|
+
|
|
47
|
+
> **proof**: [`AgentProof`](AgentProof.md)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### requestedAt
|
|
52
|
+
|
|
53
|
+
> **requestedAt**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### requestId
|
|
58
|
+
|
|
59
|
+
> **requestId**: `string`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### secretAlias?
|
|
64
|
+
|
|
65
|
+
> `optional` **secretAlias?**: `string`
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### targetUrl
|
|
70
|
+
|
|
71
|
+
> **targetUrl**: `string`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### vaultId
|
|
76
|
+
|
|
77
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: DispatchResult
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### error?
|
|
10
|
+
|
|
11
|
+
> `optional` **error?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### method
|
|
16
|
+
|
|
17
|
+
> **method**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestId
|
|
22
|
+
|
|
23
|
+
> **requestId**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### responseBody?
|
|
28
|
+
|
|
29
|
+
> `optional` **responseBody?**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### responseStatus?
|
|
34
|
+
|
|
35
|
+
> `optional` **responseStatus?**: `number`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### status
|
|
40
|
+
|
|
41
|
+
> **status**: [`DispatchStatus`](../enumerations/DispatchStatus.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### targetUrl
|
|
46
|
+
|
|
47
|
+
> **targetUrl**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### vaultId
|
|
52
|
+
|
|
53
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IStorageProvider
|
|
6
|
+
|
|
7
|
+
Pluggable storage layer for vault persistence.
|
|
8
|
+
Enables Cloud, Mobile, and Edge runtimes to use custom storage.
|
|
9
|
+
|
|
10
|
+
## Methods
|
|
11
|
+
|
|
12
|
+
### delete()
|
|
13
|
+
|
|
14
|
+
> **delete**(`key`): `Promise`\<`void`\>
|
|
15
|
+
|
|
16
|
+
#### Parameters
|
|
17
|
+
|
|
18
|
+
##### key
|
|
19
|
+
|
|
20
|
+
`string`
|
|
21
|
+
|
|
22
|
+
#### Returns
|
|
23
|
+
|
|
24
|
+
`Promise`\<`void`\>
|
|
25
|
+
|
|
26
|
+
***
|
|
27
|
+
|
|
28
|
+
### has()
|
|
29
|
+
|
|
30
|
+
> **has**(`key`): `Promise`\<`boolean`\>
|
|
31
|
+
|
|
32
|
+
#### Parameters
|
|
33
|
+
|
|
34
|
+
##### key
|
|
35
|
+
|
|
36
|
+
`string`
|
|
37
|
+
|
|
38
|
+
#### Returns
|
|
39
|
+
|
|
40
|
+
`Promise`\<`boolean`\>
|
|
41
|
+
|
|
42
|
+
***
|
|
43
|
+
|
|
44
|
+
### list()?
|
|
45
|
+
|
|
46
|
+
> `optional` **list**(`prefix`): `Promise`\<`string`[]\>
|
|
47
|
+
|
|
48
|
+
Optional. Returns sub-keys (names) under a given prefix.
|
|
49
|
+
|
|
50
|
+
#### Parameters
|
|
51
|
+
|
|
52
|
+
##### prefix
|
|
53
|
+
|
|
54
|
+
`string`
|
|
55
|
+
|
|
56
|
+
#### Returns
|
|
57
|
+
|
|
58
|
+
`Promise`\<`string`[]\>
|
|
59
|
+
|
|
60
|
+
***
|
|
61
|
+
|
|
62
|
+
### read()
|
|
63
|
+
|
|
64
|
+
> **read**(`key`): `Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
65
|
+
|
|
66
|
+
#### Parameters
|
|
67
|
+
|
|
68
|
+
##### key
|
|
69
|
+
|
|
70
|
+
`string`
|
|
71
|
+
|
|
72
|
+
#### Returns
|
|
73
|
+
|
|
74
|
+
`Promise`\<`Buffer`\<`ArrayBufferLike`\> \| `null`\>
|
|
75
|
+
|
|
76
|
+
***
|
|
77
|
+
|
|
78
|
+
### rename()?
|
|
79
|
+
|
|
80
|
+
> `optional` **rename**(`fromKey`, `toKey`): `Promise`\<`void`\>
|
|
81
|
+
|
|
82
|
+
Optional. If present, used for atomic save. Otherwise vault does write+delete.
|
|
83
|
+
|
|
84
|
+
#### Parameters
|
|
85
|
+
|
|
86
|
+
##### fromKey
|
|
87
|
+
|
|
88
|
+
`string`
|
|
89
|
+
|
|
90
|
+
##### toKey
|
|
91
|
+
|
|
92
|
+
`string`
|
|
93
|
+
|
|
94
|
+
#### Returns
|
|
95
|
+
|
|
96
|
+
`Promise`\<`void`\>
|
|
97
|
+
|
|
98
|
+
***
|
|
99
|
+
|
|
100
|
+
### withLock()?
|
|
101
|
+
|
|
102
|
+
> `optional` **withLock**\<`T`\>(`key`, `task`): `Promise`\<`T`\>
|
|
103
|
+
|
|
104
|
+
Optional. If present, used to serialize read-modify-write sequences across writers.
|
|
105
|
+
|
|
106
|
+
#### Type Parameters
|
|
107
|
+
|
|
108
|
+
##### T
|
|
109
|
+
|
|
110
|
+
`T`
|
|
111
|
+
|
|
112
|
+
#### Parameters
|
|
113
|
+
|
|
114
|
+
##### key
|
|
115
|
+
|
|
116
|
+
`string`
|
|
117
|
+
|
|
118
|
+
##### task
|
|
119
|
+
|
|
120
|
+
() => `Promise`\<`T`\>
|
|
121
|
+
|
|
122
|
+
#### Returns
|
|
123
|
+
|
|
124
|
+
`Promise`\<`T`\>
|
|
125
|
+
|
|
126
|
+
***
|
|
127
|
+
|
|
128
|
+
### write()
|
|
129
|
+
|
|
130
|
+
> **write**(`key`, `data`): `Promise`\<`void`\>
|
|
131
|
+
|
|
132
|
+
#### Parameters
|
|
133
|
+
|
|
134
|
+
##### key
|
|
135
|
+
|
|
136
|
+
`string`
|
|
137
|
+
|
|
138
|
+
##### data
|
|
139
|
+
|
|
140
|
+
`Buffer`
|
|
141
|
+
|
|
142
|
+
#### Returns
|
|
143
|
+
|
|
144
|
+
`Promise`\<`void`\>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IdGenerator
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### newAuditEntryId()
|
|
10
|
+
|
|
11
|
+
> **newAuditEntryId**(): `string`
|
|
12
|
+
|
|
13
|
+
#### Returns
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### newSecretId()
|
|
20
|
+
|
|
21
|
+
> **newSecretId**(): [`SecretId`](SecretId.md)
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
[`SecretId`](SecretId.md)
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### newVersion()
|
|
30
|
+
|
|
31
|
+
> **newVersion**(): `object`
|
|
32
|
+
|
|
33
|
+
#### Returns
|
|
34
|
+
|
|
35
|
+
`object`
|
|
36
|
+
|
|
37
|
+
##### value
|
|
38
|
+
|
|
39
|
+
> **value**: `string`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IdentityPrivateVaultChildRecord
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### childIndex
|
|
10
|
+
|
|
11
|
+
> **childIndex**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### identityId
|
|
16
|
+
|
|
17
|
+
> **identityId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### nickname?
|
|
22
|
+
|
|
23
|
+
> `optional` **nickname?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### parentIdentityId
|
|
28
|
+
|
|
29
|
+
> **parentIdentityId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### publicKey
|
|
34
|
+
|
|
35
|
+
> **publicKey**: `string`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IdentityPrivateVaultChildrenState
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### children
|
|
10
|
+
|
|
11
|
+
> **children**: [`IdentityPrivateVaultChildRecord`](IdentityPrivateVaultChildRecord.md)[]
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### nextChildIndex
|
|
16
|
+
|
|
17
|
+
> **nextChildIndex**: `number`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IdentityPrivateVaultProfile
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### childIndex?
|
|
10
|
+
|
|
11
|
+
> `optional` **childIndex?**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### identityId
|
|
16
|
+
|
|
17
|
+
> **identityId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### nickname?
|
|
22
|
+
|
|
23
|
+
> `optional` **nickname?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### parentIdentityId?
|
|
28
|
+
|
|
29
|
+
> `optional` **parentIdentityId?**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### publicKey
|
|
34
|
+
|
|
35
|
+
> **publicKey**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: InitializeVaultCustodyOptions
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### overwrite?
|
|
10
|
+
|
|
11
|
+
> `optional` **overwrite?**: `boolean`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### storageKey?
|
|
16
|
+
|
|
17
|
+
> `optional` **storageKey?**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### vaultRecoveryKey?
|
|
22
|
+
|
|
23
|
+
> `optional` **vaultRecoveryKey?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### vaultWorkingKey?
|
|
28
|
+
|
|
29
|
+
> `optional` **vaultWorkingKey?**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: InitializedVaultCustody
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### storageKey
|
|
10
|
+
|
|
11
|
+
> **storageKey**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### vaultRecoveryKey
|
|
16
|
+
|
|
17
|
+
> **vaultRecoveryKey**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### vaultWorkingKey
|
|
22
|
+
|
|
23
|
+
> **vaultWorkingKey**: `string`
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.5**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: IssuerWriteSecretCommand
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### issuer
|
|
16
|
+
|
|
17
|
+
> **issuer**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
18
|
+
|
|
19
|
+
#### Type Declaration
|
|
20
|
+
|
|
21
|
+
##### kind
|
|
22
|
+
|
|
23
|
+
> **kind**: `"trusted_issuer"`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### issuerSiteId
|
|
28
|
+
|
|
29
|
+
> **issuerSiteId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### kind
|
|
34
|
+
|
|
35
|
+
> **kind**: `"issuer.write_secret"`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### plaintext
|
|
40
|
+
|
|
41
|
+
> **plaintext**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### requestedAt
|
|
46
|
+
|
|
47
|
+
> **requestedAt**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### targetBindings?
|
|
52
|
+
|
|
53
|
+
> `optional` **targetBindings?**: readonly [`VaultTargetBinding`](VaultTargetBinding.md)[]
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### vaultId
|
|
58
|
+
|
|
59
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|