summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-08-25 17:00:01 +1000
committerMartin Babinsky <mbabinsk@redhat.com>2016-09-07 12:37:48 +0200
commitc7e0dbc4e174d0bb7577de18cdb2f414f4199c57 (patch)
tree446f541fa0cc7cad23b96d0a743a2356cf95016a /API.txt
parent7fea3914fbfc0748f26dfe41445b5f0d12f406e6 (diff)
downloadfreeipa-c7e0dbc4e174d0bb7577de18cdb2f414f4199c57.tar.gz
freeipa-c7e0dbc4e174d0bb7577de18cdb2f414f4199c57.tar.xz
freeipa-c7e0dbc4e174d0bb7577de18cdb2f414f4199c57.zip
Add ca-disable and ca-enable commands
We soon plan to revoke certificates upon lightweight CA deletion. This makes it important to provide a way to prevent a CA from issuing certificates whilst not deleting and revoking it, and continuing to allow management of issued certs. This commit adds the ca-disable and ca-enable commands. Fixes: https://fedorahosted.org/freeipa/ticket/6257 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index fb5bf83ce..f3b2938da 100644
--- a/API.txt
+++ b/API.txt
@@ -465,6 +465,20 @@ option: Str('version?')
output: Output('result', type=[<type 'dict'>])
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
output: ListOfPrimaryKeys('value')
+command: ca_disable/1
+args: 1,1,3
+arg: Str('cn', cli_name='name')
+option: Str('version?')
+output: Output('result', type=[<type 'bool'>])
+output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
+output: PrimaryKey('value')
+command: ca_enable/1
+args: 1,1,3
+arg: Str('cn', cli_name='name')
+option: Str('version?')
+output: Output('result', type=[<type 'bool'>])
+output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
+output: PrimaryKey('value')
command: ca_find/1
args: 1,11,4
arg: Str('criteria?')
@@ -6249,6 +6263,8 @@ default: batch/1
default: ca/1
default: ca_add/1
default: ca_del/1
+default: ca_disable/1
+default: ca_enable/1
default: ca_find/1
default: ca_is_enabled/1
default: ca_mod/1