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

add_auth_keys

Function add_auth_keys 

Source
pub async fn add_auth_keys(
    db: &Database,
    keys: &[(&PublicKey, AuthKey)],
) -> Result<()>
Expand description

Apply per-key auth to a database via a settings transaction. The caller chooses the keys and permissions; this just writes them.