keyutils (7)
Leading comments
Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. Written by David Howells (dhowells@redhat.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version.
NAME
keyutils - In-kernel key management utilitiesDESCRIPTION
The keyutils package is a library and a set of utilities for accessing the kernel keyrings facility. A header file is supplied to provide the definitions and declarations required to access the library:- #include <keyutils.h>
- -lkeyutils
- add_key()
- Supply a new key to the kernel.
- request_key()
- Find an existing key for use, or, optionally, create one if one does not exist.
- keyctl()
- Control a key in various ways. The library provides a variety of wrappers around this system call and those should be used rather than calling it directly. See the add_key(2), request_key(2), and keyctl(2) manual pages for more information. The keyctl() wrappers are listed on the keyctl(3) manual page.
UTILITIES
A program is provided to interact with the kernel facility by a number of subcommands, e.g.:- keyctl add user foo bar @s
- request-key
-
/etc/request-key.conf
/etc/request-key.d/
SEE ALSO
keyrings(7),pam_keyinit(8),
process-keyring(7),
session-keyring(7),
thread-keyring(7),
user-keyring(7),
user-session-keyring(7),
persistent-keyring(7)