---
name: "ykksm-export"
section: "1"
platform: "linux"
package: "yubikey-ksm"
version: "1.15-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ykksm-export"
---

# ykksm-export(1)

Tool to export keys to the YKKSM-KEYPROV format.

## NAME

ykksm-export - Tool to export keys to the YKKSM-KEYPROV format.

## SYNOPSIS

**ykksm-export** \[*--verbose*\] \[*--help*\] \[*--database DBI*\] \[*--db-user USER*\] \[*--db-passwd PASSWD*\]

## DESCRIPTION

Tool to export keys to the YKKSM-KEYPROV format.

**--database** DBI: Database identifier, see http://dbi.perl.org/

-

  defaults to a MySQL database ykksm on localhost, i.e., DBI::mysql:ykksm.

**--db-user** USER: Database username to use, defaults to empty string.

**--db-passwd** PASSWD: Database password to use, defaults to empty string.

Usage example:

-

  ./ykksm-export **--db-user** foo **--db-passwd** pass123 \|

-

  gpg **-a** **--sign** **--encrypt** **-r** 1D2F473E \> keys.txt
