Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

create_instance_database

Function create_instance_database 

Source
pub async fn create_instance_database(
    instance: &Instance,
    device_signing_key: &PrivateKey,
) -> Result<Database>
Expand description

Create the _instance system database

This database stores Instance-level configuration and metadata. Auth is bootstrapped by Database::create with the device key as Admin(0).

§Arguments

  • instance - The Instance handle
  • device_signing_key - The device’s Ed25519 signing key

§Returns

The _instance Database