Enterprise Manager Generic (MOSC)

MOSC Banner

How can I use secure variables in oem12c procedure?

edited Aug 19, 2017 5:03AM in Enterprise Manager Generic (MOSC) 1 commentAnswered

Hi,

In my search for a solution to generate OEM12c procedures without passwords in plain text I try to utilize the secure variable.

The secure variable is briefly mentioned in the "Enterprise Manager Lifecycle Management Administrator's Guide" chapter 50.3.2:

"...you can select the password check box to make the variable secure".

So I used the check box to define the password for a job user securely. In a perl script I used the variable to login on the OMS server to an emcli session.

Apparently the variable (as I used it) was empty, so login failed.

Pure for testing the situation I put a print statement (print "Password: $PASSWD") with the password to display the variable: empty.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center