{
    "content": [
        {
            "type": "text",
            "text": "# request-key(8) (man)\n\n**Summary:** request-key - handle key instantiation callback requests from the kernel\n\n**Synopsis:** /sbin/request-key  <op>  <key>  <uid>  <gid>  <threadring>  <processring>       <sessionring>\n[<info>]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -d | — | — | a handler program is selected, it won't be executed; instead, this program will print a message and exit 0. |\n| -D | — | <description> | In debugging mode, use the proposed key description specified with this rather than the sample (\"user;0;0;1f0000;debug:1 |\n| -l | — | — | and request-key.conf from the current directory rather than from /etc. |\n| -n | — | — | be copied to the system log - this will prevent that. |\n| -v | — | — | levels of verbosity. |\n| — | --version | — | Print the program version and exit. |\n\n## See Also\n\n- keyctl(1)\n- request-key.conf(5)\n- keyrings(7)\n- REQUEST-KEY(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (6 lines) — 6 subsections\n  - -d (3 lines)\n  - -D <description> (3 lines)\n  - -l (2 lines)\n  - -n (2 lines)\n  - -v (2 lines)\n  - --version (2 lines)\n- **ERRORS** (2 lines)\n- **FILES** (4 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nrequest-key - handle key instantiation callback requests from the kernel\n\n### SYNOPSIS\n\n/sbin/request-key  <op>  <key>  <uid>  <gid>  <threadring>  <processring>       <sessionring>\n[<info>]\n\n### DESCRIPTION\n\nThis program is invoked by the kernel when the kernel is asked for a key that it doesn't have\nimmediately  available.  The kernel creates a partially set up key and then calls out to this\nprogram to instantiate it. It is not intended to be called directly.\n\nHowever, for debugging purposes, it can be given some options on the command line:\n\n#### -d\n\na  handler program is selected, it won't be executed; instead, this program will print\na message and exit 0.\n\n#### -D <description>\n\nIn debugging mode, use the proposed key description specified with  this  rather  than\nthe sample (\"user;0;0;1f0000;debug:1234\") built into the program.\n\n#### -l\n\nand request-key.conf from the current directory rather than from /etc.\n\n#### -n\n\nbe copied to the system log - this will prevent that.\n\n#### -v\n\nlevels of verbosity.\n\n#### --version\n\nPrint the program version and exit.\n\n### ERRORS\n\nAll errors will be logged to the syslog.\n\n### FILES\n\n/etc/request-key.d/*.conf Individual configuration files.\n\n/etc/request-key.conf Fallback configuration file.\n\n### SEE ALSO\n\nkeyctl(1), request-key.conf(5), keyrings(7)\n\n\n\nLinux                                        15 Nov 2011                              REQUEST-KEY(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "request-key",
        "section": "8",
        "mode": "man",
        "summary": "request-key - handle key instantiation callback requests from the kernel",
        "synopsis": "/sbin/request-key  <op>  <key>  <uid>  <gid>  <threadring>  <processring>       <sessionring>\n[<info>]",
        "flags": [
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "a handler program is selected, it won't be executed; instead, this program will print a message and exit 0."
            },
            {
                "flag": "-D",
                "long": null,
                "arg": "<description>",
                "description": "In debugging mode, use the proposed key description specified with this rather than the sample (\"user;0;0;1f0000;debug:1234\") built into the program."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "and request-key.conf from the current directory rather than from /etc."
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "be copied to the system log - this will prevent that."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "levels of verbosity."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Print the program version and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "keyctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/keyctl/1/json"
            },
            {
                "name": "request-key.conf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/request-key.conf/5/json"
            },
            {
                "name": "keyrings",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/keyrings/7/json"
            },
            {
                "name": "REQUEST-KEY",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/REQUEST-KEY/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": [
                    {
                        "name": "-d",
                        "lines": 3,
                        "flag": "-d"
                    },
                    {
                        "name": "-D <description>",
                        "lines": 3,
                        "flag": "-D",
                        "arg": "<description>"
                    },
                    {
                        "name": "-l",
                        "lines": 2,
                        "flag": "-l"
                    },
                    {
                        "name": "-n",
                        "lines": 2,
                        "flag": "-n"
                    },
                    {
                        "name": "-v",
                        "lines": 2,
                        "flag": "-v"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "ERRORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}