We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create sdk and read secrets method for use with Node.js in the node12 and node templates
const sdk = require("openfaas-sdk") let pass = await sdk.readSecret("db-pass") await openDB("admin", pass)
The text was updated successfully, but these errors were encountered:
That makes a lot of sense.
For the record, I wrote this for my Typescript template and the interface was pretty-much identical
Sorry, something went wrong.
No branches or pull requests
Task
Create sdk and read secrets method for use with Node.js in the node12 and node templates
Example
The text was updated successfully, but these errors were encountered: