pub async fn load_secret_key(key_path: PathBuf) -> Result<SecretKey>Available on crate feature
rpc only.Expand description
Loads a iroh::SecretKey from the provided file, or stores a newly generated one
at the given location.
pub async fn load_secret_key(key_path: PathBuf) -> Result<SecretKey>rpc only.Loads a iroh::SecretKey from the provided file, or stores a newly generated one
at the given location.