1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 07:55:33 +02:00
tldr/pages/common/in-toto-record.md

593 B

in-toto-record

Create a signed link metadata file to provide evidence for supply chain steps. More information: https://in-toto.readthedocs.io/en/latest/command-line-tools/in-toto-record.html.

  • Start the record (creates a preliminary link file):

in-toto-record start {{[-n|--step-name]}} {{path/to/edit_file1 path/to/edit_file2 ...}} -k {{path/to/key_file}} {{[-m|--materials]}} {{.}}

  • Stop the record (expects a preliminary link file):

in-toto-record stop {{[-n|--step-name]}} {{path/to/edit_file1 path/to/edit_file2 ...}} -k {{path/to/key_file}} {{[-p|--products]}} {{.}}