VMware Cloud Community
LaxmiRagi
Enthusiast
Enthusiast
Jump to solution

How to Encrypt and Decrypt a password?

Hi,

How can we encrypt and decrypt a password using vRO7?

is there any built-in functions are available?

--

Laxmi

0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

If you want to use encryption/decryption in vRO scripting code, take a look at o11n-crypto plug-in - https://github.com/vmware/o11n-plugin-crypto

It supports many encoding/encryption/digest algorithms like AES, DES, RSA, and others.

View solution in original post

0 Kudos
4 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi,

vRO configuration CLI tool at /usr/lib/vco/tools/configuration-cli/bin/vro-configure.sh provides a command to decrypt a password. The call looks something like:

/usr/lib/vco/tools/configuration-cli/bin/vro-configure.sh decrypt --value vcoencrypted:IB1ZEXR438MXlxw/WYl/ZBmYnw==

This tool does not provide a command for encryption.

0 Kudos
LaxmiRagi
Enthusiast
Enthusiast
Jump to solution

Q1. How we can use that sh file in our script(action)?

Q2. is there any alternative solution instead?

--

Laxmi

0 Kudos
LaxmiRagi
Enthusiast
Enthusiast
Jump to solution

Hi Ilian Iliev,

Thank you for the quick response, I found something from "com.vmware.pso.util".

tested encoding it is working. Smiley Happy need to find for decoding.

Thanks again.

Laxmi

0 Kudos
iiliev
VMware Employee
VMware Employee
Jump to solution

If you want to use encryption/decryption in vRO scripting code, take a look at o11n-crypto plug-in - https://github.com/vmware/o11n-plugin-crypto

It supports many encoding/encryption/digest algorithms like AES, DES, RSA, and others.

0 Kudos