% tss2_import(1) tpm2-tools | General Commands Manual % % APRIL 2019

NAME

tss2_import(1) -

SYNOPSIS

tss2_import [OPTIONS]

common fapi references

DESCRIPTION

tss2_import(1) - This command imports a JSON encoded policy or policy template and stores it under the provided path or it imports a JSON encoded key under the provided path.

OPTIONS

These are the available options:

  • -p, --path=STRING:

    The path of the new object.

  • -i, --importData=FILENAME or - (for stdin):

    The data to be imported.

common tss2 options

EXAMPLE

tss2_import --path=/policy/duplicate-policy --importData=importData.json
tss2_import --path=/ext/key --importData=importData.file

RETURNS

0 on success or 1 on failure.

footer