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_1
and/path_2
- add
MY_SECRET
to both folders, but give them different valuesvalue_1
andvalue_2
- run
getSecret
while specifying/path_1
in the first call and/path_2
in 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.