mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 07:25:08 +00:00
Deployed deb4b784 with MkDocs version: 1.6.1
This commit is contained in:
@@ -932,10 +932,10 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#kv-add-import-keys-from-a-file" class="md-nav__link">
|
||||
<a href="#kv-add-add-content-keys" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
kv add: import keys from a file
|
||||
kv add: add content keys
|
||||
|
||||
</span>
|
||||
</a>
|
||||
@@ -2326,10 +2326,10 @@
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#kv-add-import-keys-from-a-file" class="md-nav__link">
|
||||
<a href="#kv-add-add-content-keys" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
kv add: import keys from a file
|
||||
kv add: add content keys
|
||||
|
||||
</span>
|
||||
</a>
|
||||
@@ -2565,14 +2565,15 @@
|
||||
<p>The <code>kv</code> command group manages the contents of your configured vaults. Every subcommand refers to vaults <strong>by the <code>name</code> you gave them</strong> in <code>key_vaults</code>; an unknown name is an error.</p>
|
||||
<div class="language-console highlight"><pre><span></span><code><span id="__span-7-1"><a id="__codelineno-7-1" name="__codelineno-7-1" href="#__codelineno-7-1"></a><span class="gp">$ </span>unshackle<span class="w"> </span>kv<span class="w"> </span>--help
|
||||
</span></code></pre></div>
|
||||
<h3 id="kv-add-import-keys-from-a-file"><code>kv add</code>: import keys from a file<a class="headerlink" href="#kv-add-import-keys-from-a-file" title="Permanent link">¶</a></h3>
|
||||
<p>Add <code>KID:KEY</code> pairs to one or more vaults for a given service. The file must contain one pair per line as <code>HEX:HEX</code> (32 hex characters each); lines that do not match are ignored.</p>
|
||||
<div class="language-console highlight"><pre><span></span><code><span id="__span-8-1"><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a><span class="gp">$ </span>unshackle<span class="w"> </span>kv<span class="w"> </span>add<span class="w"> </span>keys.txt<span class="w"> </span>EXAMPLE<span class="w"> </span><span class="nb">local</span><span class="w"> </span>shared
|
||||
<h3 id="kv-add-add-content-keys"><code>kv add</code>: add content keys<a class="headerlink" href="#kv-add-add-content-keys" title="Permanent link">¶</a></h3>
|
||||
<p>Add <code>KID:KEY</code> pairs to your vaults, for a service or in the <code>generic</code> table. Give each pair on the command line, or give a file with one pair per line. The options are in the <a href="../cli-reference/#kv-add-key">CLI reference</a>.</p>
|
||||
<div class="language-console highlight"><pre><span></span><code><span id="__span-8-1"><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a><span class="gp">$ </span>unshackle<span class="w"> </span>kv<span class="w"> </span>add<span class="w"> </span>9a04f07998404286ab92e65be0885f95:b1c2d3e4f5a6978012345678deadbeef
|
||||
</span><span id="__span-8-2"><a id="__codelineno-8-2" name="__codelineno-8-2" href="#__codelineno-8-2"></a><span class="gp">$ </span>unshackle<span class="w"> </span>kv<span class="w"> </span>add<span class="w"> </span>keys.txt<span class="w"> </span>-s<span class="w"> </span>EXAMPLE<span class="w"> </span>-v<span class="w"> </span><span class="nb">local</span><span class="w"> </span>-v<span class="w"> </span>shared
|
||||
</span></code></pre></div>
|
||||
<div class="language-text highlight"><span class="filename">keys.txt</span><pre><span></span><code><span id="__span-9-1"><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a>9a04f07998404286ab92e65be0885f95:b1c2d3e4f5a6978012345678deadbeef
|
||||
</span><span id="__span-9-2"><a id="__codelineno-9-2" name="__codelineno-9-2" href="#__codelineno-9-2"></a>0e7cc1a4e2f9411db0f24a3fbb8f8b21:00112233445566778899aabbccddeeff
|
||||
</span></code></pre></div>
|
||||
<p>The service argument (<code>EXAMPLE</code> above) is normalised to its canonical tag automatically. Keys that already exist in a vault are reported as skipped.</p>
|
||||
<p>The service (<code>EXAMPLE</code> above) is normalised to its canonical tag automatically. Keys that already exist in a vault are reported as skipped. The other vaults still receive them.</p>
|
||||
<p>If a vault answers and refuses the content keys, <code>kv add</code> shows one warning and continues with the next vault. If a vault is unreachable or still rate limited, <code>kv add</code> stops with an error.</p>
|
||||
<h3 id="kv-search-find-a-content-key-by-kid"><code>kv search</code>: find a content key by KID<a class="headerlink" href="#kv-search-find-a-content-key-by-kid" title="Permanent link">¶</a></h3>
|
||||
<p>Search your vaults for a KID and print any matching content key.</p>
|
||||
|
||||
Reference in New Issue
Block a user