sdk
sdk copied to clipboard
getSecret with 'path' argument returns cached value for different path
Steps to reproduce:
- create a project with two folders
/path_1and/path_2 - add
MY_SECRETto both folders, but give them different valuesvalue_1andvalue_2 - run
getSecretwhile specifying/path_1in the first call and/path_2in the second call
getSecret yields the same value for both calls, sometimes value_1, sometimes value_2.
listSecrets lists correct values when specifying path.
My assumption is that keys with similar names but different values should be able to exist in different folders (paths)?
It looks like Infisical's internal cache is not taking path into account?
Please let me know if you need any additional info.