keyctl --version (return code: 0)
keyctl from keyutils-1.5.9 (Built 2016-07-19)
keyctl -HELP (return code: 2)
Format:
keyctl --version
keyctl add <type> <desc> <data> <keyring>
keyctl chgrp <key> <gid>
keyctl chown <key> <uid>
keyctl clear <keyring>
keyctl describe <keyring>
keyctl instantiate <key> <data> <keyring>
keyctl invalidate <key>
keyctl get_persistent <keyring> [<uid>]
keyctl link <key> <keyring>
keyctl list <keyring>
keyctl negate <key> <timeout> <keyring>
keyctl new_session
keyctl newring <name> <keyring>
keyctl padd <type> <desc> <keyring>
keyctl pinstantiate <key> <keyring>
keyctl pipe <key>
keyctl prequest2 <type> <desc> [<dest_keyring>]
keyctl print <key>
keyctl pupdate <key>
keyctl purge <type>
keyctl purge [-p] [-i] <type> <desc>
keyctl purge -s <type> <desc>
keyctl rdescribe <keyring> [sep]
keyctl read <key>
keyctl reap [-v]
keyctl reject <key> <timeout> <error> <keyring>
keyctl request <type> <desc> [<dest_keyring>]
keyctl request2 <type> <desc> <info> [<dest_keyring>]
keyctl revoke <key>
keyctl rlist <keyring>
keyctl search <keyring> <type> <desc> [<dest_keyring>]
keyctl security <key>
keyctl session
keyctl session - [<prog> <arg1> <arg2> ...]
keyctl session <name> [<prog> <arg1> <arg2> ...]
keyctl setperm <key> <mask>
keyctl show [-x] [<keyring>]
keyctl timeout <key> <timeout>
keyctl unlink <key> [<keyring>]
keyctl update <key> <data>
Key/keyring ID:
<nnn> numeric keyring ID
@t thread keyring
@p process keyring
@s session keyring
@u user keyring
@us user default session keyring
@g group keyring
@a assumed request_key authorisation key
<type> can be "user" for a user-defined keyring
If you do this, prefix the description with "<subtype>:"