def get_domains(self, options):
        """
        Fetches all domains currently requested
        :param options:
        :return:
        """
        current_app.logger.debug("Fetching domains")

        domains = []
        if "common_name" in options and options["common_name"].strip():
            domains.append(options["common_name"])
        if options.get("extensions"):
            for dns_name in options["extensions"]["sub_alt_names"]["names"]:
                if dns_name.value not in domains:
                    domains.append(dns_name.value)

        current_app.logger.debug(f"Got these domains: {domains}")
        return domains

        Fetches all domains currently requested
        :param options:
        :return:
        
lemur/plugins/lemur_acme/acme_handlers.py