ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Using encryption for UC4 operating system agents

book

Article ID: 88774

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Affects Release version(s): null

Using encryption for UC4 operating system agents

Environment

Release:
Component: AAUTEN

Resolution

Using encryption for Automic operating system agents

Sample:

You want to encrypt the passwort in following line:
net use x: \\server\share /user:domain\username password
How can we encrypt this password?

Solution
 

For Unix:
      pass=`&UC_JOBMD CMD="echo &PASS#"`
      sqlplus username/${pass}@databasename @select2.sql
    
For Windows (you have to use Powershell):
      &UC_JOBMD CMD=echo &PASS# | tee -variable pass
      net use x: \\server\share /user:domain\username ${pass}