Function brane_cli::certs::remove

source ·
pub fn remove(
    domain_names: Vec<String>,
    instance_name: Option<String>,
    force: bool,
) -> Result<(), Error>
Expand description

Removes the certificate(s) for the given domain.

§Arguments

  • domain_names: The name(s) of the domain(s) for which to remove the certificates.
  • instance_name: The name of the instance for which to remove them. If omitted, we should default to the active instance.
  • force: If given, does not ask for confirmation but just does it$^{TM}$.

§Errors

This function fails if we failed to find any directories or failed to remove them.