1
0
mirror of https://github.com/containers/skopeo.git synced 2025-05-06 15:06:27 +00:00
skopeo/docs/skopeo-generate-sigstore-key.1.md
Miloslav Trmač 30ecd8f040 Cross-link the top-level and subcommand option lists
... primarily to make the top-level options more discoverable.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-04-06 21:45:36 +02:00

1.2 KiB

% skopeo-generate-sigstore-key(1)

NAME

skopeo-generate-sigstore-key - Generate a sigstore public/private key pair.

SYNOPSIS

skopeo generate-sigstore-key [options] --output-prefix prefix

DESCRIPTION

Generates a public/private key pair suitable for creating sigstore image signatures. The private key is encrypted with a passphrase; if one is not provided using an option, this command prompts for it interactively.

The private key is written to prefix.private . The private key is written to prefix.pub .

OPTIONS

See also skopeo(1) for options placed before the subcommand name.

--help, -h

Print usage statement

--output-prefix prefix

Mandatory. Path prefix for the output keys (prefix.private and prefix.pub).

--passphrase-file path

The passphare to use to encrypt the private key. Only the first line will be read. A passphrase stored in a file is of questionable security if other users can read this file. Do not use this option if at all avoidable.

EXAMPLES

$ skopeo generate-sigstore-key --output-prefix mykey

SEE ALSO

skopeo(1), skopeo-copy(1), containers-policy.json(5)

AUTHORS

Miloslav Trmač mitr@redhat.com