pub async fn preconfigure_keypair(
    context: &Context,
    addr: &str,
    secret_data: &str
) -> Result<()>
Expand description

Saves a keypair as the default keys.

This API is used for testing purposes to avoid generating the key in tests. Use import/export APIs instead.