CA
eastern-cyan
Decrypt secret input values in apify v 2.x
hi, I'm trying to use secret input values. And noticed that Actor.getInput() will decrypt the values for me in apify v3. I'm unable to upgrade from 2.0 to 3.0 due to a myriad of issues which I've posted about earlier. So I'm wondering if there's a way to decrypt secret values inside the Actor in apify package v 2.x?
2 Replies
correct-apricot•3y ago
It was added recently and requires SDK v3.1.0 at least: https://docs.apify.com/platform/actors/development/secret-input
Secret input | Apify Documentation
Learn about making some actor input fields secret and encrypted. Ideal for passing passwords, API tokens or login cookies to actors.
eastern-cyanOP•3y ago
Thanks, @Andrey Bykov