.\" Man page generated from reStructuredText. . .TH "PYKEYMGR" "8" "2018-07-10" "2.6.8" "Knot DNS" .SH NAME pykeymgr \- Knot DNS key management utility . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBpykeymgr\fP [\fIglobal\-options\fP] [\fIcommand\fP\&...] [\fIarguments\fP\&...] .SH DESCRIPTION .sp The \fBpykeymgr\fP utility serves for key management in Knot DNS server. .sp Functions for DNSSEC keys and KASP (Key And Signature Policy) management are provided. .sp The DNSSEC and KASP configuration is stored in a so called KASP database. The database is backed by LMDB. .sp The utility requires installed python LMDB module, installed e.g. by: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ pip install lmdb .ft P .fi .UNINDENT .UNINDENT .SS Global options .INDENT 0.0 .TP \fB\-f\fP, \fB\-\-force\fP Skip some of consistency checks and continue with performed action with a warning. .TP \fB\-h\fP, \fB\-\-help\fP Print the program help. .UNINDENT .SS Main commands .INDENT 0.0 .TP \fB\-i\fP, \fB\-\-import\fP \fIKASP_db_dir\fP Import the legacy JSON\-format KASP database into the current LMDB\-backed one. (You can import multiple databases at once by repeating this option.) .UNINDENT .SS Parameters .INDENT 0.0 .TP \fIKASP_db_dir\fP A path to the KASP db. It is the directory where \fIdata.mdb\fP and \fIlock.mdb\fP files are usually stored as well as legacy JSON configuration and \fIkeys\fP subdirectory containing PEM files. .UNINDENT .SH EXAMPLES .INDENT 0.0 .IP 1. 3 Import legacy JSON\-based KASP db from Knot 2.4.x after upgrade: .INDENT 3.0 .INDENT 3.5 .sp .nf .ft C $ pykemgr \-i ${knot_data_dir}/keys .ft P .fi .UNINDENT .UNINDENT .UNINDENT .SH SEE ALSO .sp \fI\%RFC 6781\fP \- DNSSEC Operational Practices. .sp \fBknot.conf(5)\fP, \fBknotc(8)\fP, \fBknotd(8)\fP\&. .SH AUTHOR CZ.NIC Labs .SH COPYRIGHT Copyright 2010–2018, CZ.NIC, z.s.p.o. .\" Generated by docutils manpage writer. .