This message was deleted.
# infisical-feedback
s
This message was deleted.
a
hey @Bledar Haxhia First of all sorry to hear about ur experience not going great with infisical. 1. Infisical npm package u mean infisical-node. Its not depreciated at all 2. Another que is if branch context is enabled in netlify integration will it resolve ur issue, May be we can work this out together with you and your company. CC: @Vlad (Infisical) @Maidul Islam @Tony
b
@Akhil Mohan I meant the old npm package is deprecated (https://www.npmjs.com/package/infisical)
infisical-node can not be used as a CLI, can only be used inside the node apps
a
@Bledar Haxhia but i am a bit confused can u tell me usage of infisical in frontend application other than in build process which is a node env
b
As you can see from my screenshots in Netlify I have 7 different values (4 contexts and 3 branches) but in Infisical I can select only 1 of 4.
@Akhil Mohan yes exactly I want to build my apps in Netlify but to inject secrets in the build process the Infisical CLI is needed. The Infisical CLI is only avaiable as a OS package (MacOS,Windows,Linux) but now as npm package. There is no way to install OS package in the Netlify build instance so the Infisical can not be used. It will be easy if Infisial CLI is available as npm pacakge then I can do:
npx  infisical --token=xxxx --domain=xxx run -- build
t
Hmm I’d need to check on this but I recall someone else did ask a few months ago support for Netlify branches and, at that time, Netlify had not publicly exposed the API to make it possible on Infisical’s end. If you can make a GitHub issue for it that would be great @Bledar Haxhia
👍 1
Regarding the
npm
package @Bledar Haxhia, the
infisical
one is indeed deprecated (it has been defunct for over half year now); there is, however, a Node SDK that you may use: https://github.com/Infisical/infisical-node This approach allows you feed in a service token and fetch variables back at runtime
b
@Tony thanks for explanation, I will create the Github issue. About the Node SDK it is great but, I want to inject those variables at build time using node package. Anyway a quick is by generating env on prebuild time using Node SDK.
👍 1