Function iroh_blobs::util::fs::load_secret_key
source · pub async fn load_secret_key(key_path: PathBuf) -> Result<SecretKey>
Available on crate feature
rpc
only.Expand description
Loads a [iroh_net::key::SecretKey
] from the provided file, or stores a newly generated one
at the given location.