diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-08-25 17:00:01 +1000 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-09-07 12:37:48 +0200 |
commit | c7e0dbc4e174d0bb7577de18cdb2f414f4199c57 (patch) | |
tree | 446f541fa0cc7cad23b96d0a743a2356cf95016a /API.txt | |
parent | 7fea3914fbfc0748f26dfe41445b5f0d12f406e6 (diff) | |
download | freeipa-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.txt | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |