HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

in-toto-record — Create a signed link metadata file to provide evidence for supply chain steps. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandlinkmetadatain-toto-recordsignedclifile

Problem

How to use the in-toto-record command: 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>.

Solution

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 ...}} --signing-key {{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 ...}} --signing-key {{path/to/key_file}} {{[-p|--products]}} {{.}}

Code Snippets

Start the record (creates a preliminary link file)

in-toto-record start {{[-n|--step-name]}} {{path/to/edit_file1 path/to/edit_file2 ...}} --signing-key {{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 ...}} --signing-key {{path/to/key_file}} {{[-p|--products]}} {{.}}

Context

tldr-pages: common/in-toto-record

Revisions (0)

No revisions yet.