Add a kadm5 RPC for purging old keys from the KDB (e.g., from
[krb5.git] / src / kadmin / cli / kadmin_ct.ct
1 # Copyright 1994 by the Massachusetts Institute of Technology.
2 # All Rights Reserved.
3
4 # Export of this software from the United States of America may
5 #   require a specific license from the United States Government.
6 #   It is the responsibility of any person or organization contemplating
7 #   export to obtain such a license before exporting.
8
9 # WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
10 # distribute this software and its documentation for any purpose and
11 # without fee is hereby granted, provided that the above copyright
12 # notice appear in all copies and that both that copyright notice and
13 # this permission notice appear in supporting documentation, and that
14 # the name of M.I.T. not be used in advertising or publicity pertaining
15 # to distribution of the software without specific, written prior
16 # permission.  Furthermore if you modify this software you must label
17 # your software as modified software and not distribute it in such a
18 # fashion that it might be confused with the original M.I.T. software.
19 # M.I.T. makes no representations about the suitability of
20 # this software for any purpose.  It is provided "as is" without express
21 # or implied warranty.
22
23
24 # Command table for kadmin CLI for OVSecure
25 #
26
27 command_table kadmin_cmds;
28
29 request kadmin_addprinc, "Add principal",
30         add_principal, addprinc, ank;
31
32 request kadmin_delprinc, "Delete principal",
33         delete_principal, delprinc;
34
35 request kadmin_modprinc, "Modify principal",
36         modify_principal, modprinc;
37
38 request kadmin_cpw, "Change password",
39         change_password, cpw;
40
41 request kadmin_getprinc, "Get principal",
42         get_principal, getprinc;
43
44 request kadmin_getprincs, "List principals",
45         list_principals, listprincs, get_principals, getprincs;
46
47 request kadmin_addpol, "Add policy",
48         add_policy, addpol;
49
50 request kadmin_modpol, "Modify policy",
51         modify_policy, modpol;
52
53 request kadmin_delpol, "Delete policy",
54         delete_policy, delpol;
55
56 request kadmin_getpol, "Get policy",
57         get_policy, getpol;
58
59 request kadmin_getpols, "List policies",
60         list_policies, listpols, get_policies, getpols;
61
62 request kadmin_getprivs, "Get privileges",
63         get_privs, getprivs;
64
65 request kadmin_keytab_add, "Add entry(s) to a keytab",
66         ktadd, xst;
67
68 request kadmin_keytab_remove, "Remove entry(s) from a keytab",
69         ktremove, ktrem;
70
71 request kadmin_lock, "Lock database exclusively (use with extreme caution!)",
72         lock;
73
74 request kadmin_unlock, "Release exclusive database lock",
75         unlock;
76
77 request kadmin_purgekeys, "Purge previously retained old keys from a principal",
78         purgekeys;
79
80 # list_requests is generic -- unrelated to Kerberos
81 request ss_list_requests, "List available requests.",
82         list_requests, lr, "?";
83
84 request ss_quit, "Exit program.",
85         quit, exit, q;
86
87 end;
88