O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing passwords safely

The previous recipes to connect to the Junos OS REST server might cause frustration for any application that needs to run in an unattended manner. Who will enter the password? This is not automation!

Dealing with the safe storage of security credentials can be tricky. The automation script needs to be able to read the credentials in a clear manner in order to complete the authentication process with the Junos OS device. But in most application execution environments, the permission to execute the app usually coincides with the permission to read the app executable file and, for just-in-time interpreted script languages, that includes the sensitive credentials.

People sometimes try to get around this problem by using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required