Readonly
[initReadonly
aclReadonly
certReadonly
clientReadonly
dbReadonly
discoveryReadonly
fsReadonly
gestaltReadonly
identitiesReadonly
keyReadonly
loggerReadonly
nodeReadonly
nodeReadonly
nodeReadonly
nodeReadonly
notificationsReadonly
schemaReadonly
sessionReadonly
sigchainReadonly
statusReadonly
taskReadonly
vaultProtected
workerProtected
handleOptional
fresh?: booleanOptional
options?: Partial<PolykeyAgentStartOptions>Optional
workers?: numberStatic
createCreate the Polykey Agent.
All optional configuration is deep-merged with defaults.
If any of the optional dependencies is injected, their lifecycle will not
be managed by PolykeyAgent
. Furthermore, if you inject an optional
dependency, make sure you are injecting all upstream transitive
dependencies at the same time. For example if you inject acl
, you must
also inject db
.
Optional
fresh?: booleanOptional
fs?: FileSystemOptional
logger?: LoggerOptional
options?: { Optional
agentOptional
agentOptional
client?: { connectTimeoutTime?: number | undefined; keepAliveTimeoutTime?: number | undefined; keepAliveIntervalTime?: number | undefined; }Optional
clientOptional
clientOptional
ipv6Optional
keys?: ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; passwordMemLimit?: { ...; } | undefined; strictMemoryL...) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 4 more ...; certRenewLeadTime?: number | undefined...) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 4 more ...; certRenewLeadTime?: number | undefined...) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 4 more ...; certRenewLeadTime?: number | undefined...)Optional
nodeOptional
nodes?: { connectionIdleTimeoutTime?: number | undefined; connectionFindConcurrencyLimit?: number | undefined; connectionConnectTimeoutTime?: number | undefined; connectionKeepAliveTimeoutTime?: number | undefined; connectionKeepAliveIntervalTime?: number | undefined; connectionHolePunchIntervalTime?: number | undefined; rp...Optional
rpc?: { callTimeoutTime?: number | undefined; parserBufferSize?: number | undefined; }Optional
seedOptional
workers?: numberGenerated using TypeDoc
Asynchronously stops the PolykeyAgent