Forum Discussion
Hi Omair,
I am evaluating SnapLogic and I am new to this platform. I developed a simple snap where I hardcoded username/password inside a JSON Generator snap and pass them to the REST Post snap to get a token from my API. Any suggestion how can I store username/password somewhere, and not hard code them tin my snap. What is a proper way of doing it?
Thank you.
I’ve wondered this before too… Almost like we need an “account” type of object, but just generically for storing some value in a secure way for use by a pipeline. What I have done before is take my values and manually encrypt them one time using the “Encrypt Field” snap and a Passphrase type of account, then hardcode that encrypted text in the pipeline, and then decrypt it at runtime with the “Decrypt Field” snap for use downstream.
- AgronBauta7 years agoNew Contributor II
Hi christwr, thank you for replying to my post. I found and downloaded a pipeline that is doing encrypt/decrypt, work in progress. Thanks.