← 返回命令列表

Linux command

rekor-cli 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Upload entry

rekor-cli upload --artifact [file] --signature [file.sig] --public-key [key.pub]

Search by artifact

rekor-cli search --artifact [file]

Search by email

rekor-cli search --email [user@example.com]

Get entry by UUID

rekor-cli get --uuid [entry-uuid]

Get entry by log index

rekor-cli get --log-index [12345]

Verify entry

rekor-cli verify --artifact [file] --signature [file.sig]

Show log info

rekor-cli loginfo

说明

rekor-cli interacts with Rekor transparency log. Rekor provides tamper-resistant audit trails. Upload adds signed artifacts to the log. Entries are immutable once recorded. Search finds entries by artifact, email, or hash. Proves when signatures were created. Verification checks artifacts against the log. Confirms signature validity and timing. Log info shows tree size and root hash. Enables verification of log integrity.

参数

upload
Add entry to log.
search
Search entries.
get
Retrieve entry.
verify
Verify artifact.
loginfo
Log information.
--artifact _FILE_
Artifact file.
--signature _FILE_
Signature file.
--public-key _FILE_
Public key file.
--uuid _UUID_
Entry UUID.
--rekor_server _URL_
Rekor server URL.

FAQ

What is the rekor-cli command used for?

rekor-cli interacts with Rekor transparency log. Rekor provides tamper-resistant audit trails. Upload adds signed artifacts to the log. Entries are immutable once recorded. Search finds entries by artifact, email, or hash. Proves when signatures were created. Verification checks artifacts against the log. Confirms signature validity and timing. Log info shows tree size and root hash. Enables verification of log integrity.

How do I run a basic rekor-cli example?

Run `rekor-cli upload --artifact [file] --signature [file.sig] --public-key [key.pub]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does upload do in rekor-cli?

Add entry to log.