% tss2_import(1) tpm2-tools | General Commands Manual % % APRIL 2019
tss2_import(1) -
tss2_import [OPTIONS]
tss2_import(1) - This command imports a JSON encoded key, policy or policy template and stores it under the provided path.
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.
tss2_import --path=/policy/duplicate-policy --importData=importData.json
tss2_import --path=/ext/key --importData=importData.file
0 on success or 1 on failure.