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
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run 'infisical secrets --env= --projectId= --recursive' with the CLI. This will produce a list with all secrets in the project, but secrets that occur multiple times in different folder will only be listed once with the value of the one in the latest folder.
Expected behavior
The command should produce a list with all secrets with their value. If the recursive flag is used the folders should also be listed, so if there are secrets with the same name (that could have a different value) all of them are in the list.
Platform you are having the issue on:
Tested on Debian Bookworm and Windows 10
The text was updated successfully, but these errors were encountered:
EmileSpa
changed the title
infisical secrets --recusive not listing all secrets as secrets with the same name in a different folder are overwritten
'infisical secrets --recursive' not listing all secrets as secrets with the same name in a different folder are overwritten
Mar 24, 2025
The infisical secrets command is used to get the final list of key value pair of secrets. Thus having the same key twice doesn't make sense, if you want to get it with duplicate keys as well please use the SDK
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run 'infisical secrets --env= --projectId= --recursive' with the CLI. This will produce a list with all secrets in the project, but secrets that occur multiple times in different folder will only be listed once with the value of the one in the latest folder.
Expected behavior
The command should produce a list with all secrets with their value. If the recursive flag is used the folders should also be listed, so if there are secrets with the same name (that could have a different value) all of them are in the list.
Platform you are having the issue on:
Tested on Debian Bookworm and Windows 10
The text was updated successfully, but these errors were encountered: