@the-ai-company/cbio-node-runtime 1.42.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- 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/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 +9 -11
- package/dist/runtime/index.js +2 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/private-vault.d.ts +1 -2
- package/dist/vault-core/contracts.d.ts +32 -4
- package/dist/vault-core/contracts.js +31 -1
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.js +28 -27
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.js +3 -2
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/index.d.ts +1 -0
- package/dist/vault-core/index.js +1 -0
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +2 -0
- package/dist/vault-ingress/index.js +4 -2
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +12 -0
- package/dist/vault-ingress/remote-transport.js +45 -0
- package/dist/vault-ingress/remote-transport.js.map +1 -0
- package/dist/vault-ingress/server-utils.d.ts +10 -0
- package/dist/vault-ingress/server-utils.js +18 -0
- package/dist/vault-ingress/server-utils.js.map +1 -0
- package/docs/ARCHITECTURE.md +8 -0
- package/docs/PROCESS_ISOLATION.md +56 -0
- package/docs/api/README.md +211 -0
- package/docs/api/classes/AgentDispatchHttpTransport.md +52 -0
- package/docs/api/classes/DefaultPolicyEngine.md +117 -0
- package/docs/api/classes/DefaultVaultCore.md +405 -0
- package/docs/api/classes/FsStorageProvider.md +192 -0
- package/docs/api/classes/HttpDispatchExecutor.md +63 -0
- package/docs/api/classes/IdentityError.md +62 -0
- package/docs/api/classes/InMemoryAgentIdentityRegistry.md +83 -0
- package/docs/api/classes/InMemoryAuditLog.md +59 -0
- package/docs/api/classes/InMemoryCapabilityRegistry.md +91 -0
- package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +75 -0
- package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +63 -0
- package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +83 -0
- package/docs/api/classes/InMemoryRateLimitStore.md +51 -0
- package/docs/api/classes/InMemoryReplayGuard.md +45 -0
- package/docs/api/classes/InMemorySecretCustody.md +83 -0
- package/docs/api/classes/InMemorySecretRepository.md +99 -0
- package/docs/api/classes/LocalSigner.md +59 -0
- package/docs/api/classes/LocalVaultTransport.md +45 -0
- package/docs/api/classes/MemoryStorageProvider.md +160 -0
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +101 -0
- package/docs/api/classes/PersistentVaultAuditLog.md +73 -0
- package/docs/api/classes/PersistentVaultCapabilityRegistry.md +109 -0
- package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +93 -0
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +81 -0
- package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +101 -0
- package/docs/api/classes/PersistentVaultRateLimitStore.md +69 -0
- package/docs/api/classes/PersistentVaultReplayGuard.md +61 -0
- package/docs/api/classes/PersistentVaultSecretCustody.md +97 -0
- package/docs/api/classes/PersistentVaultSecretRepository.md +117 -0
- package/docs/api/classes/RandomIdGenerator.md +65 -0
- package/docs/api/classes/SignatureAgentProofVerifier.md +49 -0
- package/docs/api/classes/SignatureOwnerProofVerifier.md +249 -0
- package/docs/api/classes/SystemClock.md +33 -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/docs/zh/PROCESS_ISOLATION.md +58 -0
- package/docs/zh/README.md +5 -0
- package/examples/process-isolation.ts +155 -0
- package/package.json +10 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultListCapabilitiesInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **agentId?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### requestedAt?
|
|
16
|
+
|
|
17
|
+
> `optional` **requestedAt?**: `string`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultObject
|
|
6
|
+
|
|
7
|
+
## Extended by
|
|
8
|
+
|
|
9
|
+
- [`RecoveredVault`](RecoveredVault.md)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### core
|
|
14
|
+
|
|
15
|
+
> **core**: [`VaultCore`](VaultCore.md)
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### nickname?
|
|
20
|
+
|
|
21
|
+
> `optional` **nickname?**: `string`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### storage
|
|
26
|
+
|
|
27
|
+
> **storage**: [`IStorageProvider`](IStorageProvider.md)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### vault
|
|
32
|
+
|
|
33
|
+
> **vault**: [`VaultService`](VaultService.md)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultPrincipal
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### id
|
|
10
|
+
|
|
11
|
+
> **id**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### kind
|
|
16
|
+
|
|
17
|
+
> **kind**: [`VaultPrincipalKind`](../type-aliases/VaultPrincipalKind.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultProfile
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### sealedPrivate
|
|
10
|
+
|
|
11
|
+
> **sealedPrivate**: `Record`\<`string`, `any`\>
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### sealedPublic
|
|
16
|
+
|
|
17
|
+
> **sealedPublic**: `Record`\<`string`, `any`\> & `object`
|
|
18
|
+
|
|
19
|
+
#### Type Declaration
|
|
20
|
+
|
|
21
|
+
##### nickname?
|
|
22
|
+
|
|
23
|
+
> `optional` **nickname?**: `string`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultPublicMetadata
|
|
6
|
+
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- `Record`\<`string`, `any`\>
|
|
10
|
+
|
|
11
|
+
## Indexable
|
|
12
|
+
|
|
13
|
+
> \[`key`: `string`\]: `any`
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### nickname?
|
|
18
|
+
|
|
19
|
+
> `optional` **nickname?**: `string`
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### ownerId?
|
|
24
|
+
|
|
25
|
+
> `optional` **ownerId?**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRegisterAgentInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### publicKey
|
|
16
|
+
|
|
17
|
+
> **publicKey**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `string`
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRegisterFlowInput
|
|
6
|
+
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- [`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### flowId
|
|
14
|
+
|
|
15
|
+
> **flowId**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### method
|
|
20
|
+
|
|
21
|
+
> **method**: `string`
|
|
22
|
+
|
|
23
|
+
#### Inherited from
|
|
24
|
+
|
|
25
|
+
[`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`method`](OwnerHttpFlowBoundary.md#method)
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### mode
|
|
30
|
+
|
|
31
|
+
> **mode**: `"acquire_secret"` \| `"send_secret"` \| `"bidirectional_secret"`
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
[`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`mode`](OwnerHttpFlowBoundary.md#mode)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### requestedAt?
|
|
40
|
+
|
|
41
|
+
> `optional` **requestedAt?**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### responseSecret?
|
|
46
|
+
|
|
47
|
+
> `optional` **responseSecret?**: `object`
|
|
48
|
+
|
|
49
|
+
#### field
|
|
50
|
+
|
|
51
|
+
> **field**: `string`
|
|
52
|
+
|
|
53
|
+
#### kind
|
|
54
|
+
|
|
55
|
+
> **kind**: `"json_field"`
|
|
56
|
+
|
|
57
|
+
#### storeAlias
|
|
58
|
+
|
|
59
|
+
> **storeAlias**: `string`
|
|
60
|
+
|
|
61
|
+
#### Inherited from
|
|
62
|
+
|
|
63
|
+
[`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`responseSecret`](OwnerHttpFlowBoundary.md#responsesecret)
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### responseVisibility
|
|
68
|
+
|
|
69
|
+
> **responseVisibility**: `"passthrough"` \| `"shape_only"`
|
|
70
|
+
|
|
71
|
+
#### Inherited from
|
|
72
|
+
|
|
73
|
+
[`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`responseVisibility`](OwnerHttpFlowBoundary.md#responsevisibility)
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### targetUrl
|
|
78
|
+
|
|
79
|
+
> **targetUrl**: `string`
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[`OwnerHttpFlowBoundary`](OwnerHttpFlowBoundary.md).[`targetUrl`](OwnerHttpFlowBoundary.md#targeturl)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultRevokeCapabilityInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### capabilityId
|
|
16
|
+
|
|
17
|
+
> **capabilityId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `string`
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultService
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### vaultId
|
|
10
|
+
|
|
11
|
+
> `readonly` **vaultId**: [`VaultId`](VaultId.md)
|
|
12
|
+
|
|
13
|
+
## Methods
|
|
14
|
+
|
|
15
|
+
### acquireSecret()
|
|
16
|
+
|
|
17
|
+
> **acquireSecret**(`request`): `Promise`\<[`VaultAcquireSecretResult`](VaultAcquireSecretResult.md)\>
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### request
|
|
22
|
+
|
|
23
|
+
[`VaultAcquireSecretInput`](VaultAcquireSecretInput.md)
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`Promise`\<[`VaultAcquireSecretResult`](VaultAcquireSecretResult.md)\>
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### bootstrapOwnerIdentity()
|
|
32
|
+
|
|
33
|
+
> **bootstrapOwnerIdentity**(`request`): `Promise`\<`void`\>
|
|
34
|
+
|
|
35
|
+
#### Parameters
|
|
36
|
+
|
|
37
|
+
##### request
|
|
38
|
+
|
|
39
|
+
[`OwnerIdentityRecord`](OwnerIdentityRecord.md)
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`Promise`\<`void`\>
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### defineSecretTargets()
|
|
48
|
+
|
|
49
|
+
> **defineSecretTargets**(`request`): `Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
50
|
+
|
|
51
|
+
#### Parameters
|
|
52
|
+
|
|
53
|
+
##### request
|
|
54
|
+
|
|
55
|
+
[`OwnerDefineSecretTargetsCommand`](OwnerDefineSecretTargetsCommand.md)
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### deleteSecret()
|
|
64
|
+
|
|
65
|
+
> **deleteSecret**(`request`): `Promise`\<`void`\>
|
|
66
|
+
|
|
67
|
+
#### Parameters
|
|
68
|
+
|
|
69
|
+
##### request
|
|
70
|
+
|
|
71
|
+
[`OwnerDeleteSecretCommand`](OwnerDeleteSecretCommand.md)
|
|
72
|
+
|
|
73
|
+
#### Returns
|
|
74
|
+
|
|
75
|
+
`Promise`\<`void`\>
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### dispatch()
|
|
80
|
+
|
|
81
|
+
> **dispatch**(`request`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
82
|
+
|
|
83
|
+
#### Parameters
|
|
84
|
+
|
|
85
|
+
##### request
|
|
86
|
+
|
|
87
|
+
[`DispatchRequest`](DispatchRequest.md)
|
|
88
|
+
|
|
89
|
+
#### Returns
|
|
90
|
+
|
|
91
|
+
`Promise`\<[`DispatchResult`](DispatchResult.md)\>
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### exportSecret()
|
|
96
|
+
|
|
97
|
+
> **exportSecret**(`request`): `Promise`\<[`OwnerSecretExport`](OwnerSecretExport.md)\>
|
|
98
|
+
|
|
99
|
+
#### Parameters
|
|
100
|
+
|
|
101
|
+
##### request
|
|
102
|
+
|
|
103
|
+
[`OwnerExportSecretRequest`](OwnerExportSecretRequest.md)
|
|
104
|
+
|
|
105
|
+
#### Returns
|
|
106
|
+
|
|
107
|
+
`Promise`\<[`OwnerSecretExport`](OwnerSecretExport.md)\>
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### handleAgentDispatch()
|
|
112
|
+
|
|
113
|
+
> **handleAgentDispatch**(`request`): `Promise`\<[`VaultAgentDispatchResponse`](VaultAgentDispatchResponse.md) \| [`VaultAgentDispatchErrorResponse`](VaultAgentDispatchErrorResponse.md)\>
|
|
114
|
+
|
|
115
|
+
#### Parameters
|
|
116
|
+
|
|
117
|
+
##### request
|
|
118
|
+
|
|
119
|
+
[`VaultAgentDispatchRequest`](VaultAgentDispatchRequest.md)
|
|
120
|
+
|
|
121
|
+
#### Returns
|
|
122
|
+
|
|
123
|
+
`Promise`\<[`VaultAgentDispatchResponse`](VaultAgentDispatchResponse.md) \| [`VaultAgentDispatchErrorResponse`](VaultAgentDispatchErrorResponse.md)\>
|
|
124
|
+
|
|
125
|
+
***
|
|
126
|
+
|
|
127
|
+
### listAgents()
|
|
128
|
+
|
|
129
|
+
> **listAgents**(`request`): `Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
130
|
+
|
|
131
|
+
#### Parameters
|
|
132
|
+
|
|
133
|
+
##### request
|
|
134
|
+
|
|
135
|
+
[`OwnerListAgentsRequest`](OwnerListAgentsRequest.md)
|
|
136
|
+
|
|
137
|
+
#### Returns
|
|
138
|
+
|
|
139
|
+
`Promise`\<readonly [`AgentIdentityRecord`](AgentIdentityRecord.md)[]\>
|
|
140
|
+
|
|
141
|
+
***
|
|
142
|
+
|
|
143
|
+
### listCapabilities()
|
|
144
|
+
|
|
145
|
+
> **listCapabilities**(`request`): `Promise`\<readonly [`AgentCapability`](AgentCapability.md)[]\>
|
|
146
|
+
|
|
147
|
+
#### Parameters
|
|
148
|
+
|
|
149
|
+
##### request
|
|
150
|
+
|
|
151
|
+
[`OwnerListCapabilitiesRequest`](OwnerListCapabilitiesRequest.md)
|
|
152
|
+
|
|
153
|
+
#### Returns
|
|
154
|
+
|
|
155
|
+
`Promise`\<readonly [`AgentCapability`](AgentCapability.md)[]\>
|
|
156
|
+
|
|
157
|
+
***
|
|
158
|
+
|
|
159
|
+
### readAudit()
|
|
160
|
+
|
|
161
|
+
> **readAudit**(`request`): `Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
162
|
+
|
|
163
|
+
#### Parameters
|
|
164
|
+
|
|
165
|
+
##### request
|
|
166
|
+
|
|
167
|
+
[`OwnerAuditRequest`](OwnerAuditRequest.md)
|
|
168
|
+
|
|
169
|
+
#### Returns
|
|
170
|
+
|
|
171
|
+
`Promise`\<readonly [`AuditEntry`](AuditEntry.md)[]\>
|
|
172
|
+
|
|
173
|
+
***
|
|
174
|
+
|
|
175
|
+
### registerAgentIdentity()
|
|
176
|
+
|
|
177
|
+
> **registerAgentIdentity**(`request`): `Promise`\<`void`\>
|
|
178
|
+
|
|
179
|
+
#### Parameters
|
|
180
|
+
|
|
181
|
+
##### request
|
|
182
|
+
|
|
183
|
+
[`OwnerRegisterAgentIdentityCommand`](OwnerRegisterAgentIdentityCommand.md)
|
|
184
|
+
|
|
185
|
+
#### Returns
|
|
186
|
+
|
|
187
|
+
`Promise`\<`void`\>
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### registerCapability()
|
|
192
|
+
|
|
193
|
+
> **registerCapability**(`request`): `Promise`\<`void`\>
|
|
194
|
+
|
|
195
|
+
#### Parameters
|
|
196
|
+
|
|
197
|
+
##### request
|
|
198
|
+
|
|
199
|
+
[`OwnerRegisterCapabilityCommand`](OwnerRegisterCapabilityCommand.md)
|
|
200
|
+
|
|
201
|
+
#### Returns
|
|
202
|
+
|
|
203
|
+
`Promise`\<`void`\>
|
|
204
|
+
|
|
205
|
+
***
|
|
206
|
+
|
|
207
|
+
### registerCustomFlow()
|
|
208
|
+
|
|
209
|
+
> **registerCustomFlow**(`request`): `Promise`\<`void`\>
|
|
210
|
+
|
|
211
|
+
#### Parameters
|
|
212
|
+
|
|
213
|
+
##### request
|
|
214
|
+
|
|
215
|
+
[`OwnerRegisterCustomHttpFlowCommand`](OwnerRegisterCustomHttpFlowCommand.md)
|
|
216
|
+
|
|
217
|
+
#### Returns
|
|
218
|
+
|
|
219
|
+
`Promise`\<`void`\>
|
|
220
|
+
|
|
221
|
+
***
|
|
222
|
+
|
|
223
|
+
### revokeCapability()
|
|
224
|
+
|
|
225
|
+
> **revokeCapability**(`request`): `Promise`\<`void`\>
|
|
226
|
+
|
|
227
|
+
#### Parameters
|
|
228
|
+
|
|
229
|
+
##### request
|
|
230
|
+
|
|
231
|
+
[`OwnerRevokeCapabilityCommand`](OwnerRevokeCapabilityCommand.md)
|
|
232
|
+
|
|
233
|
+
#### Returns
|
|
234
|
+
|
|
235
|
+
`Promise`\<`void`\>
|
|
236
|
+
|
|
237
|
+
***
|
|
238
|
+
|
|
239
|
+
### writeSecret()
|
|
240
|
+
|
|
241
|
+
> **writeSecret**(`request`): `Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
242
|
+
|
|
243
|
+
#### Parameters
|
|
244
|
+
|
|
245
|
+
##### request
|
|
246
|
+
|
|
247
|
+
[`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
|
|
248
|
+
|
|
249
|
+
#### Returns
|
|
250
|
+
|
|
251
|
+
`Promise`\<[`SecretRecord`](SecretRecord.md)\>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultSigner
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### sign()
|
|
10
|
+
|
|
11
|
+
> **sign**(`input`): `Promise`\<`string`\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### input
|
|
16
|
+
|
|
17
|
+
`string`
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`Promise`\<`string`\>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: VaultTargetBinding
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### kind
|
|
10
|
+
|
|
11
|
+
> **kind**: `"owner"` \| `"site"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### methods?
|
|
16
|
+
|
|
17
|
+
> `optional` **methods?**: readonly `string`[]
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### paths?
|
|
22
|
+
|
|
23
|
+
> `optional` **paths?**: readonly `string`[]
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### targetId
|
|
28
|
+
|
|
29
|
+
> **targetId**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### targetUrl?
|
|
34
|
+
|
|
35
|
+
> `optional` **targetUrl?**: `string`
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Type Alias: VaultWriteSecretCommand
|
|
6
|
+
|
|
7
|
+
> **VaultWriteSecretCommand** = [`OwnerWriteSecretCommand`](../interfaces/OwnerWriteSecretCommand.md) \| [`IssuerWriteSecretCommand`](../interfaces/IssuerWriteSecretCommand.md)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Variable: DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY
|
|
6
|
+
|
|
7
|
+
> `const` **DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY**: `"vault/sealed/custody/working-key.sealed"` = `"vault/sealed/custody/working-key.sealed"`
|