@the-ai-company/cbio-node-runtime 1.43.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/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 +5 -11
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/private-vault.d.ts +1 -2
- 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/package.json +10 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerRegisterCapabilityCommand
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### capability
|
|
10
|
+
|
|
11
|
+
> **capability**: [`AgentCapability`](AgentCapability.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### owner
|
|
16
|
+
|
|
17
|
+
> **owner**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
18
|
+
|
|
19
|
+
#### Type Declaration
|
|
20
|
+
|
|
21
|
+
##### kind
|
|
22
|
+
|
|
23
|
+
> **kind**: `"owner"`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### proof
|
|
28
|
+
|
|
29
|
+
> **proof**: [`OwnerProof`](OwnerProof.md)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### requestedAt
|
|
34
|
+
|
|
35
|
+
> **requestedAt**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### requestId
|
|
40
|
+
|
|
41
|
+
> **requestId**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### vaultId
|
|
46
|
+
|
|
47
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerRegisterCustomHttpFlowCommand
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### flow
|
|
10
|
+
|
|
11
|
+
> **flow**: `object`
|
|
12
|
+
|
|
13
|
+
#### flowId
|
|
14
|
+
|
|
15
|
+
> **flowId**: `string`
|
|
16
|
+
|
|
17
|
+
#### method
|
|
18
|
+
|
|
19
|
+
> **method**: `string`
|
|
20
|
+
|
|
21
|
+
#### mode
|
|
22
|
+
|
|
23
|
+
> **mode**: `"acquire_secret"` \| `"send_secret"` \| `"bidirectional_secret"`
|
|
24
|
+
|
|
25
|
+
#### responseSecret?
|
|
26
|
+
|
|
27
|
+
> `optional` **responseSecret?**: `object`
|
|
28
|
+
|
|
29
|
+
##### responseSecret.field
|
|
30
|
+
|
|
31
|
+
> **field**: `string`
|
|
32
|
+
|
|
33
|
+
##### responseSecret.kind
|
|
34
|
+
|
|
35
|
+
> **kind**: `"json_field"`
|
|
36
|
+
|
|
37
|
+
##### responseSecret.storeAlias
|
|
38
|
+
|
|
39
|
+
> **storeAlias**: `string`
|
|
40
|
+
|
|
41
|
+
#### responseVisibility
|
|
42
|
+
|
|
43
|
+
> **responseVisibility**: `"passthrough"` \| `"shape_only"`
|
|
44
|
+
|
|
45
|
+
#### targetUrl
|
|
46
|
+
|
|
47
|
+
> **targetUrl**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### owner
|
|
52
|
+
|
|
53
|
+
> **owner**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
54
|
+
|
|
55
|
+
#### Type Declaration
|
|
56
|
+
|
|
57
|
+
##### kind
|
|
58
|
+
|
|
59
|
+
> **kind**: `"owner"`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### proof
|
|
64
|
+
|
|
65
|
+
> **proof**: [`OwnerProof`](OwnerProof.md)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### requestedAt
|
|
70
|
+
|
|
71
|
+
> **requestedAt**: `string`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### requestId
|
|
76
|
+
|
|
77
|
+
> **requestId**: `string`
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### vaultId
|
|
82
|
+
|
|
83
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerRevokeCapabilityCommand
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### agentId
|
|
10
|
+
|
|
11
|
+
> **agentId**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### capabilityId
|
|
16
|
+
|
|
17
|
+
> **capabilityId**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### owner
|
|
22
|
+
|
|
23
|
+
> **owner**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
24
|
+
|
|
25
|
+
#### Type Declaration
|
|
26
|
+
|
|
27
|
+
##### kind
|
|
28
|
+
|
|
29
|
+
> **kind**: `"owner"`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### proof
|
|
34
|
+
|
|
35
|
+
> **proof**: [`OwnerProof`](OwnerProof.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### requestedAt
|
|
40
|
+
|
|
41
|
+
> **requestedAt**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### requestId
|
|
46
|
+
|
|
47
|
+
> **requestId**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### vaultId
|
|
52
|
+
|
|
53
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerSecretExport
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: [`SecretAlias`](SecretAlias.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### exportedAt
|
|
16
|
+
|
|
17
|
+
> **exportedAt**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### plaintext
|
|
22
|
+
|
|
23
|
+
> **plaintext**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### secretId
|
|
28
|
+
|
|
29
|
+
> **secretId**: [`SecretId`](SecretId.md)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### vaultId
|
|
34
|
+
|
|
35
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerSecretTargetBinding
|
|
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,23 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerStoreSecretInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### plaintext
|
|
16
|
+
|
|
17
|
+
> **plaintext**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `string`
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerWriteSecretCommand
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### kind
|
|
16
|
+
|
|
17
|
+
> **kind**: `"owner.write_secret"`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### owner
|
|
22
|
+
|
|
23
|
+
> **owner**: [`VaultPrincipal`](VaultPrincipal.md) & `object`
|
|
24
|
+
|
|
25
|
+
#### Type Declaration
|
|
26
|
+
|
|
27
|
+
##### kind
|
|
28
|
+
|
|
29
|
+
> **kind**: `"owner"`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### plaintext
|
|
34
|
+
|
|
35
|
+
> **plaintext**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### proof
|
|
40
|
+
|
|
41
|
+
> **proof**: [`OwnerProof`](OwnerProof.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### requestedAt
|
|
46
|
+
|
|
47
|
+
> **requestedAt**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### requestId
|
|
52
|
+
|
|
53
|
+
> **requestId**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### targetBindings?
|
|
58
|
+
|
|
59
|
+
> `optional` **targetBindings?**: readonly [`VaultTargetBinding`](VaultTargetBinding.md)[]
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### vaultId
|
|
64
|
+
|
|
65
|
+
> **vaultId**: [`VaultId`](VaultId.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerWriteSecretInput
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### alias
|
|
10
|
+
|
|
11
|
+
> **alias**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### plaintext
|
|
16
|
+
|
|
17
|
+
> **plaintext**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### requestedAt?
|
|
22
|
+
|
|
23
|
+
> `optional` **requestedAt?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### targetBindings
|
|
28
|
+
|
|
29
|
+
> **targetBindings**: readonly [`OwnerSecretTargetBinding`](OwnerSecretTargetBinding.md)[]
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: PolicyEngine
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### authorizeDefineSecretTargets()
|
|
10
|
+
|
|
11
|
+
> **authorizeDefineSecretTargets**(`command`): `Promise`\<`void`\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### command
|
|
16
|
+
|
|
17
|
+
[`OwnerDefineSecretTargetsCommand`](OwnerDefineSecretTargetsCommand.md)
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`Promise`\<`void`\>
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### authorizeDispatch()
|
|
26
|
+
|
|
27
|
+
> **authorizeDispatch**(`request`, `record?`): `Promise`\<`void`\>
|
|
28
|
+
|
|
29
|
+
#### Parameters
|
|
30
|
+
|
|
31
|
+
##### request
|
|
32
|
+
|
|
33
|
+
[`DispatchRequest`](DispatchRequest.md)
|
|
34
|
+
|
|
35
|
+
##### record?
|
|
36
|
+
|
|
37
|
+
[`SecretRecord`](SecretRecord.md) \| `null`
|
|
38
|
+
|
|
39
|
+
#### Returns
|
|
40
|
+
|
|
41
|
+
`Promise`\<`void`\>
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### authorizeWrite()
|
|
46
|
+
|
|
47
|
+
> **authorizeWrite**(`command`): `Promise`\<`void`\>
|
|
48
|
+
|
|
49
|
+
#### Parameters
|
|
50
|
+
|
|
51
|
+
##### command
|
|
52
|
+
|
|
53
|
+
[`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
|
|
54
|
+
|
|
55
|
+
#### Returns
|
|
56
|
+
|
|
57
|
+
`Promise`\<`void`\>
|
|
58
|
+
|
|
59
|
+
***
|
|
60
|
+
|
|
61
|
+
### revokeCapability()
|
|
62
|
+
|
|
63
|
+
> **revokeCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`number`\>
|
|
64
|
+
|
|
65
|
+
#### Parameters
|
|
66
|
+
|
|
67
|
+
##### vaultId
|
|
68
|
+
|
|
69
|
+
[`VaultId`](VaultId.md)
|
|
70
|
+
|
|
71
|
+
##### agentId
|
|
72
|
+
|
|
73
|
+
`string`
|
|
74
|
+
|
|
75
|
+
##### capabilityId
|
|
76
|
+
|
|
77
|
+
`string`
|
|
78
|
+
|
|
79
|
+
#### Returns
|
|
80
|
+
|
|
81
|
+
`Promise`\<`number`\>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: RateLimitStore
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### consume()
|
|
10
|
+
|
|
11
|
+
> **consume**(`key`, `maxRequests`, `windowMs`, `nowMs`): `Promise`\<`void`\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### key
|
|
16
|
+
|
|
17
|
+
`string`
|
|
18
|
+
|
|
19
|
+
##### maxRequests
|
|
20
|
+
|
|
21
|
+
`number`
|
|
22
|
+
|
|
23
|
+
##### windowMs
|
|
24
|
+
|
|
25
|
+
`number`
|
|
26
|
+
|
|
27
|
+
##### nowMs
|
|
28
|
+
|
|
29
|
+
`number`
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`Promise`\<`void`\>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: RecoverVaultOptions
|
|
6
|
+
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- `Omit`\<[`CreatePersistentVaultCoreDependenciesOptions`](CreatePersistentVaultCoreDependenciesOptions.md), `"vaultWorkingKey"` \| `"vaultId"`\>
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### authHeaderName?
|
|
14
|
+
|
|
15
|
+
> `optional` **authHeaderName?**: `string`
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`CreateDefaultVaultCoreDependenciesOptions`](CreateDefaultVaultCoreDependenciesOptions.md).[`authHeaderName`](CreateDefaultVaultCoreDependenciesOptions.md#authheadername)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### authPrefix?
|
|
24
|
+
|
|
25
|
+
> `optional` **authPrefix?**: `string`
|
|
26
|
+
|
|
27
|
+
#### Inherited from
|
|
28
|
+
|
|
29
|
+
[`CreateDefaultVaultCoreDependenciesOptions`](CreateDefaultVaultCoreDependenciesOptions.md).[`authPrefix`](CreateDefaultVaultCoreDependenciesOptions.md#authprefix)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### fetchImpl?
|
|
34
|
+
|
|
35
|
+
> `optional` **fetchImpl?**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
36
|
+
|
|
37
|
+
#### Call Signature
|
|
38
|
+
|
|
39
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
40
|
+
|
|
41
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
42
|
+
|
|
43
|
+
##### Parameters
|
|
44
|
+
|
|
45
|
+
###### input
|
|
46
|
+
|
|
47
|
+
`URL` \| `RequestInfo`
|
|
48
|
+
|
|
49
|
+
###### init?
|
|
50
|
+
|
|
51
|
+
`RequestInit`
|
|
52
|
+
|
|
53
|
+
##### Returns
|
|
54
|
+
|
|
55
|
+
`Promise`\<`Response`\>
|
|
56
|
+
|
|
57
|
+
#### Call Signature
|
|
58
|
+
|
|
59
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
60
|
+
|
|
61
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
62
|
+
|
|
63
|
+
##### Parameters
|
|
64
|
+
|
|
65
|
+
###### input
|
|
66
|
+
|
|
67
|
+
`string` \| `URL` \| `Request`
|
|
68
|
+
|
|
69
|
+
###### init?
|
|
70
|
+
|
|
71
|
+
`RequestInit`
|
|
72
|
+
|
|
73
|
+
##### Returns
|
|
74
|
+
|
|
75
|
+
`Promise`\<`Response`\>
|
|
76
|
+
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
[`CreateDefaultVaultCoreDependenciesOptions`](CreateDefaultVaultCoreDependenciesOptions.md).[`fetchImpl`](CreateDefaultVaultCoreDependenciesOptions.md#fetchimpl)
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### ownerIdentity
|
|
84
|
+
|
|
85
|
+
> **ownerIdentity**: `CreatedIdentity`
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### policy?
|
|
90
|
+
|
|
91
|
+
> `optional` **policy?**: [`DefaultPolicyEngineOptions`](DefaultPolicyEngineOptions.md)
|
|
92
|
+
|
|
93
|
+
#### Inherited from
|
|
94
|
+
|
|
95
|
+
[`CreateDefaultVaultCoreDependenciesOptions`](CreateDefaultVaultCoreDependenciesOptions.md).[`policy`](CreateDefaultVaultCoreDependenciesOptions.md#policy)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### proofVerifier?
|
|
100
|
+
|
|
101
|
+
> `optional` **proofVerifier?**: [`SignatureAgentProofVerifierOptions`](SignatureAgentProofVerifierOptions.md)
|
|
102
|
+
|
|
103
|
+
#### Inherited from
|
|
104
|
+
|
|
105
|
+
[`CreateDefaultVaultCoreDependenciesOptions`](CreateDefaultVaultCoreDependenciesOptions.md).[`proofVerifier`](CreateDefaultVaultCoreDependenciesOptions.md#proofverifier)
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### vault?
|
|
110
|
+
|
|
111
|
+
> `optional` **vault?**: `object`
|
|
112
|
+
|
|
113
|
+
#### customFlows?
|
|
114
|
+
|
|
115
|
+
> `optional` **customFlows?**: [`VaultCustomFlowResolver`](VaultCustomFlowResolver.md)
|
|
116
|
+
|
|
117
|
+
#### fetchImpl?
|
|
118
|
+
|
|
119
|
+
> `optional` **fetchImpl?**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
120
|
+
|
|
121
|
+
##### Call Signature
|
|
122
|
+
|
|
123
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
124
|
+
|
|
125
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
126
|
+
|
|
127
|
+
###### Parameters
|
|
128
|
+
|
|
129
|
+
###### input
|
|
130
|
+
|
|
131
|
+
`URL` \| `RequestInfo`
|
|
132
|
+
|
|
133
|
+
###### init?
|
|
134
|
+
|
|
135
|
+
`RequestInit`
|
|
136
|
+
|
|
137
|
+
###### Returns
|
|
138
|
+
|
|
139
|
+
`Promise`\<`Response`\>
|
|
140
|
+
|
|
141
|
+
##### Call Signature
|
|
142
|
+
|
|
143
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
144
|
+
|
|
145
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
146
|
+
|
|
147
|
+
###### Parameters
|
|
148
|
+
|
|
149
|
+
###### input
|
|
150
|
+
|
|
151
|
+
`string` \| `URL` \| `Request`
|
|
152
|
+
|
|
153
|
+
###### init?
|
|
154
|
+
|
|
155
|
+
`RequestInit`
|
|
156
|
+
|
|
157
|
+
###### Returns
|
|
158
|
+
|
|
159
|
+
`Promise`\<`Response`\>
|
|
160
|
+
|
|
161
|
+
***
|
|
162
|
+
|
|
163
|
+
### vaultId
|
|
164
|
+
|
|
165
|
+
> **vaultId**: `string`
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: RecoveredVault
|
|
6
|
+
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- [`VaultObject`](VaultObject.md)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### core
|
|
14
|
+
|
|
15
|
+
> **core**: [`VaultCore`](VaultCore.md)
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`VaultObject`](VaultObject.md).[`core`](VaultObject.md#core)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### nickname?
|
|
24
|
+
|
|
25
|
+
> `optional` **nickname?**: `string`
|
|
26
|
+
|
|
27
|
+
#### Inherited from
|
|
28
|
+
|
|
29
|
+
[`VaultObject`](VaultObject.md).[`nickname`](VaultObject.md#nickname)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### storage
|
|
34
|
+
|
|
35
|
+
> **storage**: [`IStorageProvider`](IStorageProvider.md)
|
|
36
|
+
|
|
37
|
+
#### Inherited from
|
|
38
|
+
|
|
39
|
+
[`VaultObject`](VaultObject.md).[`storage`](VaultObject.md#storage)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### vault
|
|
44
|
+
|
|
45
|
+
> **vault**: [`VaultService`](VaultService.md)
|
|
46
|
+
|
|
47
|
+
#### Inherited from
|
|
48
|
+
|
|
49
|
+
[`VaultObject`](VaultObject.md).[`vault`](VaultObject.md#vault)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: ReplayGuard
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
### assertNotReplayed()
|
|
10
|
+
|
|
11
|
+
> **assertNotReplayed**(`request`): `Promise`\<`void`\>
|
|
12
|
+
|
|
13
|
+
#### Parameters
|
|
14
|
+
|
|
15
|
+
##### request
|
|
16
|
+
|
|
17
|
+
[`DispatchRequest`](DispatchRequest.md)
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`Promise`\<`void`\>
|