diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-04-27 15:46:14 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-05-25 16:06:26 +0200 |
commit | 4b119e21a2f93ca16c5edf3d1058552b44feeaf8 (patch) | |
tree | fd85bf26924e3db32e3a8df47329e962a4ea9e7b /API.txt | |
parent | b09b92831f8b8cda26dcf01a04113ae6547b355c (diff) | |
download | freeipa-4b119e21a2f93ca16c5edf3d1058552b44feeaf8.tar.gz freeipa-4b119e21a2f93ca16c5edf3d1058552b44feeaf8.tar.xz freeipa-4b119e21a2f93ca16c5edf3d1058552b44feeaf8.zip |
vault: copy arguments of client commands from server counterparts
Copy arguments of vault_{add,mod,archive,retrieve} from
vault_{add,mod,archive,retrieve}_internal.
Also add missing LDAPCreate arguments to vault_add_internal.
This will make it possible to move the commands to ipaclient.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -5501,13 +5501,14 @@ output: Output('result', type=[<type 'bool'>]) output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: PrimaryKey('value') command: vault_add -args: 1,14,3 +args: 1,15,3 arg: Str('cn', cli_name='name') option: Str('addattr*', cli_name='addattr') option: Flag('all', autofill=True, cli_name='all', default=False) option: Str('description?', cli_name='desc') option: Bytes('ipavaultpublickey?', cli_name='public_key') option: StrEnum('ipavaulttype?', autofill=True, cli_name='type', default=u'symmetric', values=[u'standard', u'symmetric', u'asymmetric']) +option: Flag('no_members', autofill=True, default=False) option: Str('password?', cli_name='password') option: Str('password_file?', cli_name='password_file') option: Str('public_key_file?', cli_name='public_key_file') @@ -5521,8 +5522,9 @@ output: Entry('result') output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: PrimaryKey('value') command: vault_add_internal -args: 1,11,3 +args: 1,13,3 arg: Str('cn', cli_name='name') +option: Str('addattr*', cli_name='addattr') option: Flag('all', autofill=True, cli_name='all', default=False) option: Str('description?', cli_name='desc') option: Bytes('ipavaultpublickey?', cli_name='public_key') @@ -5531,6 +5533,7 @@ option: StrEnum('ipavaulttype?', autofill=True, cli_name='type', default=u'symme option: Flag('no_members', autofill=True, default=False) option: Flag('raw', autofill=True, cli_name='raw', default=False) option: Str('service?') +option: Str('setattr*', cli_name='setattr') option: Flag('shared?', autofill=True, default=False) option: Str('username?', cli_name='user') option: Str('version?') @@ -5635,23 +5638,27 @@ output: ListOfEntries('result') output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: Output('truncated', type=[<type 'bool'>]) command: vault_mod -args: 1,18,3 +args: 1,22,3 arg: Str('cn', cli_name='name') +option: Str('addattr*', cli_name='addattr') option: Flag('all', autofill=True, cli_name='all', default=False) option: Flag('change_password?', autofill=True, default=False) -option: Str('description?', cli_name='desc') -option: Bytes('ipavaultpublickey?', cli_name='public_key') -option: Bytes('ipavaultsalt?', cli_name='salt') -option: Str('ipavaulttype?', cli_name='type') +option: Str('delattr*', cli_name='delattr') +option: Str('description?', autofill=False, cli_name='desc') +option: Bytes('ipavaultpublickey?', autofill=False, cli_name='public_key') +option: StrEnum('ipavaulttype?', autofill=False, cli_name='type', default=u'symmetric', values=[u'standard', u'symmetric', u'asymmetric']) option: Str('new_password?', cli_name='new_password') option: Str('new_password_file?', cli_name='new_password_file') +option: Flag('no_members', autofill=True, default=False) option: Str('old_password?', cli_name='old_password') option: Str('old_password_file?', cli_name='old_password_file') option: Bytes('private_key?', cli_name='private_key') option: Str('private_key_file?', cli_name='private_key_file') option: Str('public_key_file?', cli_name='public_key_file') option: Flag('raw', autofill=True, cli_name='raw', default=False) +option: Flag('rights', autofill=True, default=False) option: Str('service?') +option: Str('setattr*', cli_name='setattr') option: Flag('shared?', autofill=True, default=False) option: Str('username?', cli_name='user') option: Str('version?') |