OS Manuals

/usr/bin/tpm2_createprimary

Command-line tools for TPM 2.0 built on tpm2-tss, providing the tpm2 multi-call binary and the tpm2_* tool symlinks

From tpm2-tools 5.8-r0 (enterprise-packages), captured 2026-11-09 by running tpm2_createprimary --help (exit 0). permalink

Usage: tpm2_createprimary [<options>]
Where <options> are:
    [ -C | --hierarchy=<value>] [ -P | --hierarchy-auth=<value>] [ -p | --key-auth=<value>] [ -g | --hash-algorithm=<value>]
    [ -G | --key-algorithm=<value>] [ -c | --key-context=<value>] [ -L | --policy=<value>] [ -a | --attributes=<value>]
    [ -u | --unique-data=<value>] [ --creation-data=<value>] [ --template-data=<value>] [ -t | --creation-ticket=<value>]
    [ -d | --creation-hash=<value>] [ -q | --outside-info=<value>] [ -l | --pcr-list=<value>] [ --cphash=<value>]
    [ -f | --format=<value>] [ -o | --output=<value>] [ -R | --autoflush]

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.