Hi, very new to Infisical, but excited by its pote...
# infisical-help
p
Hi, very new to Infisical, but excited by its potential as a new tool in my kit. I'm using the following command
infisical run -- npm run dev:infisical
to inject my Infisical secrets into my local application, however this is only picking up secrets at the root of the project. Is it possible to secrets organised into folders as well, if so, I would I do that? Or do they all have to be at root level.
p
You can use --path flag.
I feel you might also be able to use chained commands for multiple folders, but I'm not sure about it and there has to be a better way to do this.
Still if you want to check it, chained commands link: https://infisical.com/docs/cli/commands/run#chained-commands
p
Thanks for this and yes, currently I have 12 folders so chaining not ideal. Potentially going to switch to no folders, as this might be easier with syncing with other integrations as they also seem to only accept one path.
p
Have you tried this thing --path="/" .
Should be obvious but still ..
or maybe
/folder/
, again most obvious thing.