Automation method $evm.object Returning Nil? when passing credentials to an external system.
Issue
- I have setup an instance + method to call an external system and having an unusual problem with credentials. I am storing the username and password within the instance as
Attribute: (username)
Attribute (password) --- This is encrypted.
- When I use the following, I receive NIL and blank username and passwords.
username = nil
username ||= $evm.object['username']
password = nil
password ||= $evm.object.decrypt('password')
$evm.log("info", "usernameobject #{username.class}")
Environment
- Cloudforms 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
