Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

get unscrambled encrypted property in linux agent on vCAC 5.2

$
0
0

Hello I am provisioning linux VMs on vCAC 5.2 via cloning and then having the the linux agent make various customizations based on custom properties of the provisioning group that requested the machine. This works great either by adding scipts to the /usr/share/gugent/site/CustomizeOS directory or  setting the virtualmachine.software0.scriptpath and other properties, as long as the values are not encrpted.

 

If I create an encrypted property, for example a password for some configuration file that I would not like readable in the vCAC interface, or even perhaps the rhel registration key, the result appears t be encrypted value.

 

For instance in  the /usr/share/gugent/site/CustomizeOS/70_somescript.sh

#!/bin/bash

AUTHTOK=$(python getprop.py my_encrypted_property)

echo $AUTHTOK >>/root/ldapscrpt.tmp

 

Does not produce the decrypted string. It does produce something similiar to (

cUUxbpGDCSnY3KsMb/2iw==

 

I have read examples of unscrambling encrypted properties via powershell, but this is a linux vm

 

Is there some way to do this in the linux agent

 

Thank you for your help


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>