Closed Alta2048 closed 1 year ago
my bad , I forgot that may have used the encryption key for the other property: https://vdc-repo.vmware.com/vmwb-repository/dcr-public/6b586ed2-655c-49d9-9029-bc416323cb22/fa0b429a-a695-4c11-b7d2-2cbc284049dc/doc/vim.vm.customization.Specification.html
encryptionKey: Byte array containing the public key used to encrypt any passwords stored in the specification. Both the client and the server can use this to determine if stored passwords can be decrypted by the server or if the passwords need to be re-entered and re-encrypted before the specification can be used.
Describe the bug
Hello All,
PowerCLI 12.6.0
Cmdlet New-OSCustomizationSpec with OStype Windows , return an object that contains the password from DomainCredentials as plain text.
Reproduction steps
Here it is
our returned object shows :
it will display
it will display the password in clear text. DomainAdminPassword : oops DomainPassword : oops
Expected behavior
both properties for
DomainAdminPassword
andDomainPassword
should display:System.Management.Automation.PSCredential
(same as the AdminPassword property.)Thanks for your time.
Additional context
No response