keyctl Command Examples

Manipulate the Linux kernel keyring. More information: https://manned.org/keyctl.

keyctl list {{target_keyring}}

keyctl list {{@us}}

keyctl add {{type_keyring}} {{key_name}} {{key_value}} {{target_keyring}}

echo -n {{key_value}} | keyctl padd {{type_keyring}} {{key_name}} {{target_keyring}}

keyctl timeout {{key_name}} {{timeout_in_seconds}}

keyctl read {{key_name}}

keyctl pipe {{key_name}}

keyctl revoke {{key_name}}