summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2017-03-14 06:25:19 +0000
committerJan Cholasta <jcholast@redhat.com>2017-03-14 12:26:16 +0000
commit72de679eb445c975ec70cd265d37d4927823ce5b (patch)
tree39e71e7d82b6f6d9b870b0ddbf15897d4561c388
parent8ed891cb619abd2efd428f767edf760ebf5eec5d (diff)
downloadfreeipa-72de679eb445c975ec70cd265d37d4927823ce5b.tar.gz
freeipa-72de679eb445c975ec70cd265d37d4927823ce5b.tar.xz
freeipa-72de679eb445c975ec70cd265d37d4927823ce5b.zip
csrgen: hide cert-get-requestdata in CLI
The CSR generation feature is supposed to be used from cert-request, hide the internal cert-get-requestdata command in the CLI. https://fedorahosted.org/freeipa/ticket/4899 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
-rw-r--r--ipaclient/plugins/csrgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaclient/plugins/csrgen.py b/ipaclient/plugins/csrgen.py
index 0d6eca0cf..a0d99ef06 100644
--- a/ipaclient/plugins/csrgen.py
+++ b/ipaclient/plugins/csrgen.py
@@ -29,6 +29,8 @@ Commands to build certificate requests automatically
class cert_get_requestdata(Local):
__doc__ = _('Gather data for a certificate signing request.')
+ NO_CLI = True
+
takes_options = (
Principal(
'principal',