Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years agoRecommended way to use credentials in the code - NodeJS
Hi!
I have a NodeJS application and I'm trying to figure out the best way to use 1Password Secret Automation. I already have a Connect server in place and also already did some tests successfully....
Former Member
3 years agoHi!
I'm still struggling to find a way to read secrets at runtime, and I'm about to give up using 1Password for secrets on our platform.
I saw one example at this link that I can't make it to work:
Referencing secret values that way in the code is what I'm trying to accomplish.
I thougth of using API calls to get secret values as specified here in the docs, but for that we'd need to specify UUIDs, and that is not practical for development once vaults will have different UUIDs between development, staging, and production.
If it were possible to get vault items via rest API using op:// references I'd go that way, but it looks like it is not an option.
Unfortunately we'll need to look for alternatives other than 1Password. :(