pub async fn load_secret_key(key_path: PathBuf) -> Result<SecretKey>
rpc
Loads a [iroh::SecretKey] from the provided file, or stores a newly generated one at the given location.
iroh::SecretKey