From 9657d3fe6c3b5b20d33811a7476c6ae25dcecfb5 Mon Sep 17 00:00:00 2001 From: Michael Dougherty Date: Fri, 23 Aug 2024 21:36:15 -0700 Subject: [PATCH] Optional agent key (#269) --- src/api/admin/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/admin/types.ts b/src/api/admin/types.ts index c49ca005..03d83bc1 100644 --- a/src/api/admin/types.ts +++ b/src/api/admin/types.ts @@ -447,8 +447,11 @@ export type NetworkSeed = string; export type InstallAppRequest = { /** * The agent to use when creating Cells for this App. + * If not specified, a new agent will be generated by Holochain. + * If DPKI is enabled (default), and the agent key is not specified here, + * a new agent key will be derived from the DPKI device seed and registered with DPKI. */ - agent_key: AgentPubKey; + agent_key?: AgentPubKey; /** * The unique identifier for an installed app in this conductor.