Function brane_cli::certs::get_active_certs_dir
source · pub fn get_active_certs_dir(domain: impl AsRef<Path>) -> Result<PathBuf, Error>
Expand description
Retrieves the path to the certificate directory of the active instance.
§Arguments
domain
: The name of the domain for which we want to get certificates.
§Returns
The path to the directory with the certificates of the active instance.
§Errors
This function may error if there was no active instance or we failed to get/read its directory.