@the-ai-company/cbio-node-runtime 1.63.7 → 1.64.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/README.md +11 -5
- package/dist/clients/agent/client.d.ts +2 -2
- package/dist/clients/agent/client.js +46 -49
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/agent/contracts.d.ts +5 -5
- package/dist/clients/owner/client.js +209 -195
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +47 -48
- package/dist/protocol/childSecretNaming.d.ts +1 -1
- package/dist/protocol/childSecretNaming.js +2 -2
- package/dist/protocol/childSecretNaming.js.map +1 -1
- package/dist/protocol/crypto.d.ts +4 -4
- package/dist/protocol/crypto.js +14 -14
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/protocol/identity.d.ts +2 -2
- package/dist/protocol/identity.js +4 -4
- package/dist/protocol/identity.js.map +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.js +1 -1
- package/dist/public-types.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +6 -6
- package/dist/runtime/bootstrap.js +26 -26
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +6 -6
- package/dist/runtime/identity.js +14 -12
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +1 -5
- package/dist/runtime/owner-session.js +4 -5
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/runtime/vault-metadata.d.ts +2 -2
- package/dist/runtime/vault-metadata.js +2 -2
- package/dist/runtime/vault-metadata.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +235 -238
- package/dist/vault-core/contracts.js +25 -34
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +41 -42
- package/dist/vault-core/core.js +251 -274
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +25 -25
- package/dist/vault-core/defaults.js +95 -95
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/errors.d.ts +1 -1
- package/dist/vault-core/errors.js.map +1 -1
- package/dist/vault-core/index.d.ts +2 -2
- package/dist/vault-core/index.js +2 -2
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +19 -19
- package/dist/vault-core/persistence.js +78 -67
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-core/ports.d.ts +23 -23
- package/dist/vault-core/tool-metadata.js +6 -6
- package/dist/vault-core/tool-metadata.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +2 -2
- package/dist/vault-ingress/defaults.js +10 -10
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +46 -47
- package/dist/vault-ingress/index.js +34 -37
- package/dist/vault-ingress/index.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +2 -2
- package/dist/vault-ingress/remote-transport.js +27 -27
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/CUSTODY_MODEL.md +3 -3
- package/docs/IDENTITY_MODEL.md +4 -4
- package/docs/REFERENCE.md +27 -2
- package/docs/api/README.md +3 -4
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +6 -6
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +12 -12
- package/docs/api/classes/PersistentVaultAuditLog.md +1 -1
- package/docs/api/classes/PersistentVaultSecretCustody.md +7 -7
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +12 -12
- package/docs/api/classes/PersistentVaultSecretRepository.md +7 -7
- package/docs/api/classes/VaultCore.md +53 -69
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditOperation.md +137 -0
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +2 -2
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createOwnerSession.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -3
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +3 -3
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +4 -4
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readVaultProfile.md +3 -3
- package/docs/api/functions/recoverVault.md +4 -4
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +3 -3
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +3 -3
- package/docs/api/interfaces/AgentClient.md +3 -3
- package/docs/api/interfaces/AgentDispatchIntent.md +7 -7
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +3 -3
- package/docs/api/interfaces/AgentIdentityRecord.md +11 -11
- package/docs/api/interfaces/AgentRequestResult.md +9 -9
- package/docs/api/interfaces/AgentRuntimeManifest.md +13 -13
- package/docs/api/interfaces/AgentSecretGrant.md +11 -11
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +13 -13
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +13 -13
- package/docs/api/interfaces/AuditEntry.md +45 -25
- package/docs/api/interfaces/CbioRuntime.md +10 -10
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +3 -13
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +4 -10
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -3
- package/docs/api/interfaces/CreateVaultOptions.md +2 -2
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +9 -9
- package/docs/api/interfaces/DispatchAuthorization.md +11 -11
- package/docs/api/interfaces/DispatchInstruction.md +9 -9
- package/docs/api/interfaces/DispatchRequest.md +11 -11
- package/docs/api/interfaces/DispatchResult.md +11 -11
- 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/OwnerAgentProvisionResult.md +3 -3
- package/docs/api/interfaces/OwnerClient.md +43 -11
- package/docs/api/interfaces/OwnerCreateSecretInput.md +3 -3
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +3 -3
- package/docs/api/interfaces/OwnerRequestRecord.md +19 -19
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +3 -3
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +3 -3
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +21 -21
- package/docs/api/interfaces/RecoverVaultOptions.md +4 -4
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +19 -19
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +11 -11
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +13 -13
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +5 -5
- package/docs/api/interfaces/VaultAuditQueryInput.md +7 -7
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +5 -5
- package/docs/api/interfaces/VaultCreateAgentInput.md +3 -3
- package/docs/api/interfaces/VaultExportSecretInput.md +3 -3
- package/docs/api/interfaces/VaultGetRequestInput.md +5 -5
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +7 -7
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +7 -7
- package/docs/api/interfaces/VaultId.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +5 -5
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
- package/docs/api/interfaces/VaultListAgentsInput.md +3 -3
- package/docs/api/interfaces/VaultListGrantsInput.md +7 -7
- package/docs/api/interfaces/VaultListRequestsInput.md +5 -5
- package/docs/api/interfaces/VaultListSecretsInput.md +3 -3
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +5 -5
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +3 -3
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +7 -7
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +8 -24
- package/docs/api/interfaces/VaultUpdateAgentInput.md +5 -5
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/zh/README.md +9 -3
- package/examples/process-isolation.ts +21 -21
- package/package.json +2 -2
- package/docs/api/enumerations/AuditAction.md +0 -143
- package/docs/api/enumerations/AuditOutcome.md +0 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
|
|
29
29
|
### get()
|
|
30
30
|
|
|
31
|
-
> **get**(`
|
|
31
|
+
> **get**(`vault_id`, `root_agent_id`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md) \| `null`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
35
|
-
#####
|
|
35
|
+
##### vault\_id
|
|
36
36
|
|
|
37
37
|
[`VaultId`](../interfaces/VaultId.md)
|
|
38
38
|
|
|
39
|
-
#####
|
|
39
|
+
##### root\_agent\_id
|
|
40
40
|
|
|
41
41
|
`string`
|
|
42
42
|
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
|
|
53
53
|
### list()
|
|
54
54
|
|
|
55
|
-
> **list**(`
|
|
55
|
+
> **list**(`vault_id`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
56
56
|
|
|
57
57
|
#### Parameters
|
|
58
58
|
|
|
59
|
-
#####
|
|
59
|
+
##### vault\_id
|
|
60
60
|
|
|
61
61
|
[`VaultId`](../interfaces/VaultId.md)
|
|
62
62
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
|
|
29
29
|
### delete()
|
|
30
30
|
|
|
31
|
-
> **delete**(`
|
|
31
|
+
> **delete**(`vault_id`, `root_agent_id`, `secret_alias`): `Promise`\<`void`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
35
|
-
#####
|
|
35
|
+
##### vault\_id
|
|
36
36
|
|
|
37
37
|
[`VaultId`](../interfaces/VaultId.md)
|
|
38
38
|
|
|
39
|
-
#####
|
|
39
|
+
##### root\_agent\_id
|
|
40
40
|
|
|
41
41
|
`string`
|
|
42
42
|
|
|
43
|
-
#####
|
|
43
|
+
##### secret\_alias
|
|
44
44
|
|
|
45
45
|
`string`
|
|
46
46
|
|
|
@@ -56,19 +56,19 @@
|
|
|
56
56
|
|
|
57
57
|
### get()
|
|
58
58
|
|
|
59
|
-
> **get**(`
|
|
59
|
+
> **get**(`vault_id`, `root_agent_id`, `secret_alias`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md) \| `null`\>
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
63
|
-
#####
|
|
63
|
+
##### vault\_id
|
|
64
64
|
|
|
65
65
|
[`VaultId`](../interfaces/VaultId.md)
|
|
66
66
|
|
|
67
|
-
#####
|
|
67
|
+
##### root\_agent\_id
|
|
68
68
|
|
|
69
69
|
`string`
|
|
70
70
|
|
|
71
|
-
#####
|
|
71
|
+
##### secret\_alias
|
|
72
72
|
|
|
73
73
|
`string`
|
|
74
74
|
|
|
@@ -84,15 +84,15 @@
|
|
|
84
84
|
|
|
85
85
|
### list()
|
|
86
86
|
|
|
87
|
-
> **list**(`
|
|
87
|
+
> **list**(`vault_id`, `root_agent_id?`): `Promise`\<readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]\>
|
|
88
88
|
|
|
89
89
|
#### Parameters
|
|
90
90
|
|
|
91
|
-
#####
|
|
91
|
+
##### vault\_id
|
|
92
92
|
|
|
93
93
|
[`VaultId`](../interfaces/VaultId.md)
|
|
94
94
|
|
|
95
|
-
#####
|
|
95
|
+
##### root\_agent\_id?
|
|
96
96
|
|
|
97
97
|
`string`
|
|
98
98
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
|
|
33
33
|
### delete()
|
|
34
34
|
|
|
35
|
-
> **delete**(`
|
|
35
|
+
> **delete**(`secret_id`): `Promise`\<`void`\>
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
39
|
-
#####
|
|
39
|
+
##### secret\_id
|
|
40
40
|
|
|
41
41
|
[`SecretId`](../interfaces/SecretId.md)
|
|
42
42
|
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
|
|
53
53
|
### load()
|
|
54
54
|
|
|
55
|
-
> **load**(`
|
|
55
|
+
> **load**(`secret_id`): `Promise`\<`string` \| `null`\>
|
|
56
56
|
|
|
57
57
|
#### Parameters
|
|
58
58
|
|
|
59
|
-
#####
|
|
59
|
+
##### secret\_id
|
|
60
60
|
|
|
61
61
|
[`SecretId`](../interfaces/SecretId.md)
|
|
62
62
|
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
|
|
73
73
|
### store()
|
|
74
74
|
|
|
75
|
-
> **store**(`
|
|
75
|
+
> **store**(`secret_id`, `plaintext`): `Promise`\<`void`\>
|
|
76
76
|
|
|
77
77
|
#### Parameters
|
|
78
78
|
|
|
79
|
-
#####
|
|
79
|
+
##### secret\_id
|
|
80
80
|
|
|
81
81
|
[`SecretId`](../interfaces/SecretId.md)
|
|
82
82
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
|
|
29
29
|
### delete()
|
|
30
30
|
|
|
31
|
-
> **delete**(`
|
|
31
|
+
> **delete**(`vault_id`, `secret_alias`, `site_id`): `Promise`\<`void`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
35
|
-
#####
|
|
35
|
+
##### vault\_id
|
|
36
36
|
|
|
37
37
|
[`VaultId`](../interfaces/VaultId.md)
|
|
38
38
|
|
|
39
|
-
#####
|
|
39
|
+
##### secret\_alias
|
|
40
40
|
|
|
41
41
|
`string`
|
|
42
42
|
|
|
43
|
-
#####
|
|
43
|
+
##### site\_id
|
|
44
44
|
|
|
45
45
|
`string`
|
|
46
46
|
|
|
@@ -56,19 +56,19 @@
|
|
|
56
56
|
|
|
57
57
|
### get()
|
|
58
58
|
|
|
59
|
-
> **get**(`
|
|
59
|
+
> **get**(`vault_id`, `secret_alias`, `site_id`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md) \| `null`\>
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
63
|
-
#####
|
|
63
|
+
##### vault\_id
|
|
64
64
|
|
|
65
65
|
[`VaultId`](../interfaces/VaultId.md)
|
|
66
66
|
|
|
67
|
-
#####
|
|
67
|
+
##### secret\_alias
|
|
68
68
|
|
|
69
69
|
`string`
|
|
70
70
|
|
|
71
|
-
#####
|
|
71
|
+
##### site\_id
|
|
72
72
|
|
|
73
73
|
`string`
|
|
74
74
|
|
|
@@ -84,15 +84,15 @@
|
|
|
84
84
|
|
|
85
85
|
### list()
|
|
86
86
|
|
|
87
|
-
> **list**(`
|
|
87
|
+
> **list**(`vault_id`, `secret_alias?`): `Promise`\<readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]\>
|
|
88
88
|
|
|
89
89
|
#### Parameters
|
|
90
90
|
|
|
91
|
-
#####
|
|
91
|
+
##### vault\_id
|
|
92
92
|
|
|
93
93
|
[`VaultId`](../interfaces/VaultId.md)
|
|
94
94
|
|
|
95
|
-
#####
|
|
95
|
+
##### secret\_alias?
|
|
96
96
|
|
|
97
97
|
`string`
|
|
98
98
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
|
|
29
29
|
### delete()
|
|
30
30
|
|
|
31
|
-
> **delete**(`
|
|
31
|
+
> **delete**(`secret_id`): `Promise`\<`void`\>
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
35
|
-
#####
|
|
35
|
+
##### secret\_id
|
|
36
36
|
|
|
37
37
|
[`SecretId`](../interfaces/SecretId.md)
|
|
38
38
|
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
|
|
71
71
|
### getById()
|
|
72
72
|
|
|
73
|
-
> **getById**(`
|
|
73
|
+
> **getById**(`secret_id`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
|
|
74
74
|
|
|
75
75
|
#### Parameters
|
|
76
76
|
|
|
77
|
-
#####
|
|
77
|
+
##### secret\_id
|
|
78
78
|
|
|
79
79
|
[`SecretId`](../interfaces/SecretId.md)
|
|
80
80
|
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
|
|
91
91
|
### list()
|
|
92
92
|
|
|
93
|
-
> **list**(`
|
|
93
|
+
> **list**(`vault_id`): `Promise`\<readonly [`SecretRecord`](../interfaces/SecretRecord.md)[]\>
|
|
94
94
|
|
|
95
95
|
#### Parameters
|
|
96
96
|
|
|
97
|
-
#####
|
|
97
|
+
##### vault\_id
|
|
98
98
|
|
|
99
99
|
[`VaultId`](../interfaces/VaultId.md)
|
|
100
100
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.64.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
|
|
23
23
|
## Accessors
|
|
24
24
|
|
|
25
|
-
###
|
|
25
|
+
### vault\_id
|
|
26
26
|
|
|
27
27
|
#### Get Signature
|
|
28
28
|
|
|
29
|
-
> **get** **
|
|
29
|
+
> **get** **vault\_id**(): [`VaultId`](../interfaces/VaultId.md)
|
|
30
30
|
|
|
31
31
|
##### Returns
|
|
32
32
|
|
|
@@ -82,15 +82,15 @@
|
|
|
82
82
|
|
|
83
83
|
`any`
|
|
84
84
|
|
|
85
|
-
######
|
|
85
|
+
###### request_id
|
|
86
86
|
|
|
87
87
|
`string`
|
|
88
88
|
|
|
89
|
-
######
|
|
89
|
+
###### requested_at
|
|
90
90
|
|
|
91
91
|
`string`
|
|
92
92
|
|
|
93
|
-
######
|
|
93
|
+
###### target_request_id
|
|
94
94
|
|
|
95
95
|
`string`
|
|
96
96
|
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
|
|
117
117
|
`any`
|
|
118
118
|
|
|
119
|
-
######
|
|
119
|
+
###### request_id
|
|
120
120
|
|
|
121
121
|
`string`
|
|
122
122
|
|
|
123
|
-
######
|
|
123
|
+
###### requested_at
|
|
124
124
|
|
|
125
125
|
`string`
|
|
126
126
|
|
|
@@ -146,11 +146,11 @@
|
|
|
146
146
|
|
|
147
147
|
`any`
|
|
148
148
|
|
|
149
|
-
######
|
|
149
|
+
###### request_id
|
|
150
150
|
|
|
151
151
|
`string`
|
|
152
152
|
|
|
153
|
-
######
|
|
153
|
+
###### requested_at
|
|
154
154
|
|
|
155
155
|
`string`
|
|
156
156
|
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
|
|
177
177
|
`any`
|
|
178
178
|
|
|
179
|
-
######
|
|
179
|
+
###### request_id
|
|
180
180
|
|
|
181
181
|
`string`
|
|
182
182
|
|
|
183
|
-
######
|
|
183
|
+
###### requested_at
|
|
184
184
|
|
|
185
185
|
`string`
|
|
186
186
|
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
|
|
193
193
|
### ownerApproveDispatch()
|
|
194
194
|
|
|
195
|
-
> **ownerApproveDispatch**(`actor`, `
|
|
195
|
+
> **ownerApproveDispatch**(`actor`, `request_id`, `decision`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
|
|
196
196
|
|
|
197
197
|
#### Parameters
|
|
198
198
|
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
|
|
201
201
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
202
202
|
|
|
203
|
-
#####
|
|
203
|
+
##### request\_id
|
|
204
204
|
|
|
205
205
|
`string`
|
|
206
206
|
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
|
|
253
253
|
### ownerGetRequest()
|
|
254
254
|
|
|
255
|
-
> **ownerGetRequest**(`actor`, `
|
|
255
|
+
> **ownerGetRequest**(`actor`, `request_id`): `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
|
|
256
256
|
|
|
257
257
|
#### Parameters
|
|
258
258
|
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
|
|
261
261
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
262
262
|
|
|
263
|
-
#####
|
|
263
|
+
##### request\_id
|
|
264
264
|
|
|
265
265
|
`string`
|
|
266
266
|
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
### ownerGrantAgentSecret()
|
|
274
274
|
|
|
275
|
-
> **ownerGrantAgentSecret**(`actor`, `
|
|
275
|
+
> **ownerGrantAgentSecret**(`actor`, `root_agent_id`, `secret_alias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
|
|
276
276
|
|
|
277
277
|
#### Parameters
|
|
278
278
|
|
|
@@ -280,17 +280,17 @@
|
|
|
280
280
|
|
|
281
281
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
282
282
|
|
|
283
|
-
#####
|
|
283
|
+
##### root\_agent\_id
|
|
284
284
|
|
|
285
285
|
`string`
|
|
286
286
|
|
|
287
|
-
#####
|
|
287
|
+
##### secret\_alias
|
|
288
288
|
|
|
289
289
|
`string`
|
|
290
290
|
|
|
291
291
|
##### request?
|
|
292
292
|
|
|
293
|
-
######
|
|
293
|
+
###### request_id?
|
|
294
294
|
|
|
295
295
|
`string`
|
|
296
296
|
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
|
|
303
303
|
### ownerGrantSecretDestination()
|
|
304
304
|
|
|
305
|
-
> **ownerGrantSecretDestination**(`actor`, `
|
|
305
|
+
> **ownerGrantSecretDestination**(`actor`, `secret_alias`, `site_id`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
|
|
306
306
|
|
|
307
307
|
#### Parameters
|
|
308
308
|
|
|
@@ -310,17 +310,17 @@
|
|
|
310
310
|
|
|
311
311
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
312
312
|
|
|
313
|
-
#####
|
|
313
|
+
##### secret\_alias
|
|
314
314
|
|
|
315
315
|
`string`
|
|
316
316
|
|
|
317
|
-
#####
|
|
317
|
+
##### site\_id
|
|
318
318
|
|
|
319
319
|
`string`
|
|
320
320
|
|
|
321
321
|
##### request?
|
|
322
322
|
|
|
323
|
-
######
|
|
323
|
+
###### request_id?
|
|
324
324
|
|
|
325
325
|
`string`
|
|
326
326
|
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
|
|
349
349
|
### ownerIssueSessionToken()
|
|
350
350
|
|
|
351
|
-
> **ownerIssueSessionToken**(`request`): `Promise`\<\{ `
|
|
351
|
+
> **ownerIssueSessionToken**(`request`): `Promise`\<\{ `issued_at`: `string`; `root_agent_id`: `string`; `token`: `string`; \}\>
|
|
352
352
|
|
|
353
353
|
#### Parameters
|
|
354
354
|
|
|
@@ -358,17 +358,17 @@
|
|
|
358
358
|
|
|
359
359
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
360
360
|
|
|
361
|
-
######
|
|
361
|
+
###### root_agent_id
|
|
362
362
|
|
|
363
363
|
`string`
|
|
364
364
|
|
|
365
|
-
######
|
|
365
|
+
###### vault_id
|
|
366
366
|
|
|
367
367
|
[`VaultId`](../interfaces/VaultId.md)
|
|
368
368
|
|
|
369
369
|
#### Returns
|
|
370
370
|
|
|
371
|
-
`Promise`\<\{ `
|
|
371
|
+
`Promise`\<\{ `issued_at`: `string`; `root_agent_id`: `string`; `token`: `string`; \}\>
|
|
372
372
|
|
|
373
373
|
***
|
|
374
374
|
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
|
|
391
391
|
### ownerListGrants()
|
|
392
392
|
|
|
393
|
-
> **ownerListGrants**(`actor`, `
|
|
393
|
+
> **ownerListGrants**(`actor`, `root_agent_id?`, `secret_alias?`): `Promise`\<\{ `agent_secrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secret_destinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
394
394
|
|
|
395
395
|
#### Parameters
|
|
396
396
|
|
|
@@ -398,23 +398,23 @@
|
|
|
398
398
|
|
|
399
399
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
400
400
|
|
|
401
|
-
#####
|
|
401
|
+
##### root\_agent\_id?
|
|
402
402
|
|
|
403
403
|
`string`
|
|
404
404
|
|
|
405
|
-
#####
|
|
405
|
+
##### secret\_alias?
|
|
406
406
|
|
|
407
407
|
`string`
|
|
408
408
|
|
|
409
409
|
#### Returns
|
|
410
410
|
|
|
411
|
-
`Promise`\<\{ `
|
|
411
|
+
`Promise`\<\{ `agent_secrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secret_destinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
|
|
412
412
|
|
|
413
413
|
***
|
|
414
414
|
|
|
415
415
|
### ownerListRequests()
|
|
416
416
|
|
|
417
|
-
> **ownerListRequests**(`actor`, `
|
|
417
|
+
> **ownerListRequests**(`actor`, `root_agent_id?`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
|
|
418
418
|
|
|
419
419
|
#### Parameters
|
|
420
420
|
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
|
|
423
423
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
424
424
|
|
|
425
|
-
#####
|
|
425
|
+
##### root\_agent\_id?
|
|
426
426
|
|
|
427
427
|
`string`
|
|
428
428
|
|
|
@@ -516,15 +516,15 @@
|
|
|
516
516
|
|
|
517
517
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
518
518
|
|
|
519
|
-
######
|
|
519
|
+
###### request_id
|
|
520
520
|
|
|
521
521
|
`string`
|
|
522
522
|
|
|
523
|
-
######
|
|
523
|
+
###### requested_at
|
|
524
524
|
|
|
525
525
|
`string`
|
|
526
526
|
|
|
527
|
-
######
|
|
527
|
+
###### vault_id
|
|
528
528
|
|
|
529
529
|
[`VaultId`](../interfaces/VaultId.md)
|
|
530
530
|
|
|
@@ -554,15 +554,15 @@
|
|
|
554
554
|
|
|
555
555
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
556
556
|
|
|
557
|
-
######
|
|
557
|
+
###### request_id
|
|
558
558
|
|
|
559
559
|
`string`
|
|
560
560
|
|
|
561
|
-
######
|
|
561
|
+
###### requested_at
|
|
562
562
|
|
|
563
563
|
`string`
|
|
564
564
|
|
|
565
|
-
######
|
|
565
|
+
###### vault_id
|
|
566
566
|
|
|
567
567
|
[`VaultId`](../interfaces/VaultId.md)
|
|
568
568
|
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
|
|
575
575
|
### ownerRevokeAgentSecret()
|
|
576
576
|
|
|
577
|
-
> **ownerRevokeAgentSecret**(`actor`, `
|
|
577
|
+
> **ownerRevokeAgentSecret**(`actor`, `root_agent_id`, `secret_alias`, `request?`): `Promise`\<`void`\>
|
|
578
578
|
|
|
579
579
|
#### Parameters
|
|
580
580
|
|
|
@@ -582,17 +582,17 @@
|
|
|
582
582
|
|
|
583
583
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
584
584
|
|
|
585
|
-
#####
|
|
585
|
+
##### root\_agent\_id
|
|
586
586
|
|
|
587
587
|
`string`
|
|
588
588
|
|
|
589
|
-
#####
|
|
589
|
+
##### secret\_alias
|
|
590
590
|
|
|
591
591
|
`string`
|
|
592
592
|
|
|
593
593
|
##### request?
|
|
594
594
|
|
|
595
|
-
######
|
|
595
|
+
###### request_id?
|
|
596
596
|
|
|
597
597
|
`string`
|
|
598
598
|
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
|
|
605
605
|
### ownerRevokeSecretDestination()
|
|
606
606
|
|
|
607
|
-
> **ownerRevokeSecretDestination**(`actor`, `
|
|
607
|
+
> **ownerRevokeSecretDestination**(`actor`, `secret_alias`, `site_id`, `request?`): `Promise`\<`void`\>
|
|
608
608
|
|
|
609
609
|
#### Parameters
|
|
610
610
|
|
|
@@ -612,17 +612,17 @@
|
|
|
612
612
|
|
|
613
613
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
|
|
614
614
|
|
|
615
|
-
#####
|
|
615
|
+
##### secret\_alias
|
|
616
616
|
|
|
617
617
|
`string`
|
|
618
618
|
|
|
619
|
-
#####
|
|
619
|
+
##### site\_id
|
|
620
620
|
|
|
621
621
|
`string`
|
|
622
622
|
|
|
623
623
|
##### request?
|
|
624
624
|
|
|
625
|
-
######
|
|
625
|
+
###### request_id?
|
|
626
626
|
|
|
627
627
|
`string`
|
|
628
628
|
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
|
|
649
649
|
`string`
|
|
650
650
|
|
|
651
|
-
######
|
|
651
|
+
###### vault_id
|
|
652
652
|
|
|
653
653
|
[`VaultId`](../interfaces/VaultId.md)
|
|
654
654
|
|
|
@@ -678,19 +678,19 @@
|
|
|
678
678
|
|
|
679
679
|
[`VaultPrincipal`](../interfaces/VaultPrincipal.md)
|
|
680
680
|
|
|
681
|
-
######
|
|
681
|
+
###### request_id
|
|
682
682
|
|
|
683
683
|
`string`
|
|
684
684
|
|
|
685
|
-
######
|
|
685
|
+
###### requested_at
|
|
686
686
|
|
|
687
687
|
`string`
|
|
688
688
|
|
|
689
|
-
######
|
|
689
|
+
###### root_agent_id
|
|
690
690
|
|
|
691
691
|
`string`
|
|
692
692
|
|
|
693
|
-
######
|
|
693
|
+
###### vault_id
|
|
694
694
|
|
|
695
695
|
[`VaultId`](../interfaces/VaultId.md)
|
|
696
696
|
|
|
@@ -713,19 +713,3 @@
|
|
|
713
713
|
#### Returns
|
|
714
714
|
|
|
715
715
|
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
716
|
-
|
|
717
|
-
***
|
|
718
|
-
|
|
719
|
-
### ownerWriteSecret()
|
|
720
|
-
|
|
721
|
-
> **ownerWriteSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|
|
722
|
-
|
|
723
|
-
#### Parameters
|
|
724
|
-
|
|
725
|
-
##### command
|
|
726
|
-
|
|
727
|
-
`any`
|
|
728
|
-
|
|
729
|
-
#### Returns
|
|
730
|
-
|
|
731
|
-
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
|