From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- ...erence%2Fcommandline%2Ftrust_key_load%2Findex.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html (limited to 'devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html') diff --git a/devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html b/devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html new file mode 100644 index 00000000..fedf8062 --- /dev/null +++ b/devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html @@ -0,0 +1,19 @@ +

docker trust key load


Load a private key file for signing

Usage

$ docker trust key load [OPTIONS] KEYFILE
+

Refer to the options section for an overview of available OPTIONS for this command.

Description

docker trust key load adds private keys to the local docker trust keystore.

To add a signer to a repository use docker trust signer add.

For example uses of this command, refer to the examples section below.

Options

Name, shorthand Default Description
--name signer Name for the loaded key

Examples

Load a single private key

For a private key alice.pem with permissions -rw-------

$ docker trust key load alice.pem
+
+Loading key from "alice.pem"...
+Enter passphrase for new signer key with ID f8097df:
+Repeat passphrase for new signer key with ID f8097df:
+Successfully imported key from alice.pem
+

To specify a name use the --name flag:

$ docker trust key load --name alice-key alice.pem
+
+Loading key from "alice.pem"...
+Enter passphrase for new alice-key key with ID f8097df:
+Repeat passphrase for new alice-key key with ID f8097df:
+Successfully imported key from alice.pem
+

Parent command

Command Description
docker trust key Manage keys for signing Docker images
Command Description
docker trust key generate Generate and load a signing key-pair
docker trust key load Load a private key file for signing
+

+ © 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
+ https://docs.docker.com/engine/reference/commandline/trust_key_load/ +

+
-- cgit v1.2.3