You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><p><strong>DATABASE</strong> - FilePath to store the secrets’ database.</p></li>
99
99
<li><p><strong>RATE_LIMIT</strong> - List of dictionaries with <codeclass="docutils literal notranslate"><spanclass="pre">max_requests</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">seconds</span></code> to apply as rate limit.</p></li>
100
100
</ul>
101
-
</section>
101
+
<details>
102
+
<summary>Auto generate a <code>SECRET</code> value</summary><p>This value will be used to encrypt/decrypt the secrets stored in the database.</p>
<spanclass="sig-prename descclassname"><spanclass="pre">vaultapi.util.</span></span><spanclass="sig-name descname"><spanclass="pre">encode_secret</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">ByteString</span></span></span><aclass="headerlink" href="#vaultapi.util.encode_secret" title="Permalink to this definition">¶</a></dt>
0 commit comments