mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't cache session-cache single use vault token
This commit is contained in:
parent
474ea03bb4
commit
75b0aff3fc
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,8 @@ require. Avoid naming every key 'password' as you they will collide:
|
|||
|
||||
If you want to nest results under a nesting_key name use the following format:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
ext_pillar:
|
||||
- vault:
|
||||
conf: path=secret/salt
|
||||
|
|
|
@ -227,7 +227,6 @@ def write_cache(connection):
|
|||
and "vault_secret_path_metadata" not in connection
|
||||
):
|
||||
log.debug("Not caching vault single use token")
|
||||
__context__["vault_token"] = connection
|
||||
return True
|
||||
elif (
|
||||
"vault_secret_path_metadata" in __context__
|
||||
|
|
Loading…
Add table
Reference in a new issue