summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-05-10 13:56:40 +1000
committerJan Cholasta <jcholast@redhat.com>2016-06-15 07:13:38 +0200
commit08e0aa23b0d2c7226472670b4d29d3cc5c5242d6 (patch)
tree7a184c97bd78d5703120df5e35cca3bcebe1b0cb /API.txt
parentae6d5b79fbce83e5ded8d8d46108b193c164ac14 (diff)
downloadfreeipa-08e0aa23b0d2c7226472670b4d29d3cc5c5242d6.tar.gz
freeipa-08e0aa23b0d2c7226472670b4d29d3cc5c5242d6.tar.xz
freeipa-08e0aa23b0d2c7226472670b4d29d3cc5c5242d6.zip
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 <jcholast@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt7
1 files changed, 5 insertions, 2 deletions
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=[<type 'unicode'>, <type 'NoneType'>])
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')