---
name: "ykval-gen-clients"
section: "1"
platform: "linux"
package: "yubikey-val"
version: "2.38-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/ykval-gen-clients"
---

# ykval-gen-clients(1)

Generate Yubikey API clients.

## NAME

ykval-gen-clients - Generate Yubikey API clients.

## SYNOPSIS

**ykval-gen-clients \[ OPTIONS \] \[ num\_clients \]**

## DESCRIPTION

Generates clients and client secrets, and inserts them into the yubikey-val database. They are also printed to stdout as comma separated lines  containing client\_id, secret.

Database configuration is read from /etc/yubico/val/ykval-config.php

**--urandom**\
         Use /dev/urandom instead of /dev/random as entropy source.

**--email**=EMAIL\
         Sets the e-mail field of the created clients

**--notes**=NOTES\
         Sets the notes field of the created clients

**--otp**=OTP\
         Sets the otp field of the created clients

## BUGS

Report ykval-gen-clients bugs in the issue tracker ⟨URL: https://github.com/Yubico/yubikey-val/issues ⟩

## SEE ALSO

[**ykval-import-clients**(1)](/ykval-import-clients/1.md)

YubiKeys can be obtained from Yubico ⟨URL: https://www.yubico.com/ ⟩.
