diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html | |
new repository
Diffstat (limited to 'devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html')
| -rw-r--r-- | devdocs/docker/engine%2Freference%2Fcommandline%2Ftrust_key_load%2Findex.html | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ +<h1>docker trust key load</h1> <p><br></p> <p>Load a private key file for signing</p> <h2 id="usage">Usage</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker trust key load [OPTIONS] KEYFILE +</pre></div> <p>Refer to the <a href="#options">options section</a> for an overview of available <a href="#options"><code class="language-plaintext highlighter-rouge">OPTIONS</code></a> for this command.</p> <h2 id="description">Description</h2> <p name="extended-description"><code class="language-plaintext highlighter-rouge">docker trust key load</code> adds private keys to the local docker trust keystore.</p> <p>To add a signer to a repository use <code class="language-plaintext highlighter-rouge">docker trust signer add</code>.</p> <p>For example uses of this command, refer to the <a href="#examples">examples section</a> below.</p> <h2 id="options">Options</h2> <table> <thead> <tr> <td>Name, shorthand</td> <td>Default</td> <td>Description</td> </tr> </thead> <tbody> <tr> <td><code class="language-plaintext highlighter-rouge">--name</code></td> <td><code class="language-plaintext highlighter-rouge">signer</code></td> <td>Name for the loaded key</td> </tr> </tbody> </table> <h2 id="examples">Examples</h2> <h3 id="load-a-single-private-key">Load a single private key</h3> <p>For a private key <code class="language-plaintext highlighter-rouge">alice.pem</code> with permissions <code class="language-plaintext highlighter-rouge">-rw-------</code></p> <div class="highlight"><pre class="highlight" data-language="">$ 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 +</pre></div> <p>To specify a name use the <code class="language-plaintext highlighter-rouge">--name</code> flag:</p> <div class="highlight"><pre class="highlight" data-language="">$ 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 +</pre></div> <h2 id="parent-command">Parent command</h2> <table> <thead> <tr> <th style="text-align: left">Command</th> <th style="text-align: left">Description</th> </tr> </thead> <tbody> <tr> <td style="text-align: left"><a href="../trust_key/index">docker trust key</a></td> <td style="text-align: left">Manage keys for signing Docker images</td> </tr> </tbody> </table> <h2 id="related-commands">Related commands</h2> <table> <thead> <tr> <td>Command</td> <td>Description</td> </tr> </thead> <tbody> <tr> <td><a href="../trust_key_generate/index">docker trust key generate</a></td> <td>Generate and load a signing key-pair</td> </tr> <tr> <td><a href="index">docker trust key load</a></td> <td>Load a private key file for signing</td> </tr> </tbody> </table> <div class="_attribution"> + <p class="_attribution-p"> + © 2019 Docker, Inc.<br>Licensed under the Apache License, Version 2.0.<br>Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.<br>Docker, Inc. and other parties may also have trademark rights in other terms used herein.<br> + <a href="https://docs.docker.com/engine/reference/commandline/trust_key_load/" class="_attribution-link">https://docs.docker.com/engine/reference/commandline/trust_key_load/</a> + </p> +</div> |
