mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7995 from Icinga/bugfix/pki-save-cert-key-7992
icinga2 pki save-cert: allow to specify --key and --cert
This commit is contained in:
commit
45ee6b3b71
|
@ -29,6 +29,10 @@ void PKISaveCertCommand::InitParameters(boost::program_options::options_descript
|
|||
("trustedcert", po::value<std::string>(), "Trusted certificate file path (output)")
|
||||
("host", po::value<std::string>(), "Parent Icinga instance to fetch the public TLS certificate from")
|
||||
("port", po::value<std::string>()->default_value("5665"), "Icinga 2 port");
|
||||
|
||||
hiddenDesc.add_options()
|
||||
("key", po::value<std::string>())
|
||||
("cert", po::value<std::string>());
|
||||
}
|
||||
|
||||
std::vector<String> PKISaveCertCommand::GetArgumentSuggestions(const String& argument, const String& word) const
|
||||
|
|
Loading…
Reference in New Issue