Add vault ttl caching
-
Adds vault response caching in vault provider
vault.py
-- for supporting vault responses with a TTL (i.e. Snowflake password rotation). This is done via keeping an internal dictionary where keys are the vault key and values are time to expiry. -
Gestalt no longer writes the interpolated value of the provider key. It instead keeps the value as is (
ref+vault://
) and if a key in the underlyinggestalt
dict starts with the Vault provider scheme, it will dispatch the request to the.get
vault provider method (which could be cached). -
Moves pytest fixtures into a dedicated
conftest.py
module.