From 08e0aa23b0d2c7226472670b4d29d3cc5c5242d6 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Tue, 10 May 2016 13:56:40 +1000 Subject: Add issuer options to cert-show and cert-find Add options to cert-show and cert-find for specifying the issuer as a DN, or a CA name. Also add the issuer DN to the output of cert-find. Part of: https://fedorahosted.org/freeipa/ticket/4559 Reviewed-By: Jan Cholasta Reviewed-By: Martin Babinsky --- API.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'API.txt') diff --git a/API.txt b/API.txt index c3fa78c0d..741c64365 100644 --- a/API.txt +++ b/API.txt @@ -730,11 +730,13 @@ output: Entry('result') output: Output('summary', type=[, ]) output: PrimaryKey('value') command: cert_find -args: 0,17,4 +args: 0,19,4 option: Flag('all', autofill=True, cli_name='all', default=False) +option: Str('cacn?', autofill=False, cli_name='ca') option: Flag('exactly?', autofill=True, default=False) option: Str('issuedon_from?', autofill=False) option: Str('issuedon_to?', autofill=False) +option: Str('issuer?', autofill=False) option: Int('max_serial_number?', autofill=False) option: Int('min_serial_number?', autofill=False) option: Flag('raw', autofill=True, cli_name='raw', default=False) @@ -774,8 +776,9 @@ option: Int('revocation_reason', autofill=True, default=0) option: Str('version?') output: Output('result') command: cert_show -args: 1,2,1 +args: 1,3,1 arg: Str('serial_number') +option: Str('cacn?', autofill=False, cli_name='ca') option: Str('out?') option: Str('version?') output: Output('result') -- cgit