keyctl
Manipulate the Linux kernel keyring. More information: https://manned.org/keyctl.
- List keys in a specific keyring:
keyctl list
- List current keys in the user default session:
keyctl list
- Store a key in a specific keyring:
keyctl add
- Store a key with its value from
stdin:
echo -n | keyctl padd
- Put a timeout on a key:
keyctl timeout
- Read a key and format it as a hex-dump if not printable:
keyctl read
- Read a key and format as-is:
keyctl pipe
- Revoke a key and prevent any further action on it:
keyctl revoke
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
