summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2017-03-10 09:22:42 +0000
committerDavid Kupka <dkupka@redhat.com>2017-03-14 12:58:45 +0100
commit8ed891cb619abd2efd428f767edf760ebf5eec5d (patch)
tree4e15ed642fa731001cdf2d17bc0ff95245596855 /API.txt
parentc60d9c9744b1f8a7b55bcdda65cce8bb36700bf6 (diff)
downloadfreeipa-8ed891cb619abd2efd428f767edf760ebf5eec5d.tar.gz
freeipa-8ed891cb619abd2efd428f767edf760ebf5eec5d.tar.xz
freeipa-8ed891cb619abd2efd428f767edf760ebf5eec5d.zip
cert: include certificate chain in cert command output
Include the full certificate chain in the output of cert-request, cert-show and cert-find if --chain or --all is specified. If output file is specified in the CLI together with --chain, the full certificate chain is written to the file. https://pagure.io/freeipa/issue/6547 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/API.txt b/API.txt
index 90cda748a..2d6b401be 100644
--- a/API.txt
+++ b/API.txt
@@ -782,11 +782,12 @@ option: Str('cacn?', autofill=True, cli_name='ca', default=u'ipa')
option: Str('version?')
output: Output('result')
command: cert_request/1
-args: 1,8,3
+args: 1,9,3
arg: Str('csr', cli_name='csr_file')
option: Flag('add', autofill=True, default=False)
option: Flag('all', autofill=True, cli_name='all', default=False)
option: Str('cacn?', autofill=True, cli_name='ca', default=u'ipa')
+option: Flag('chain', autofill=True, default=False)
option: Principal('principal')
option: Str('profile_id?')
option: Flag('raw', autofill=True, cli_name='raw', default=False)
@@ -803,10 +804,11 @@ option: Int('revocation_reason', autofill=True, default=0)
option: Str('version?')
output: Output('result')
command: cert_show/1
-args: 1,6,3
+args: 1,7,3
arg: Int('serial_number')
option: Flag('all', autofill=True, cli_name='all', default=False)
option: Str('cacn?', autofill=True, cli_name='ca', default=u'ipa')
+option: Flag('chain', autofill=True, default=False)
option: Flag('no_members', autofill=True, default=False)
option: Str('out?')
option: Flag('raw', autofill=True, cli_name='raw', default=False)