Skip to content

Allow secure string and encrypted data to be exported using PowervRA (--secure false) #202

Description

@abrahamfaurillo

Hi Guys, Just want to ask if PowerVRA has a feature/property to allow exportation of contents (blueprints) with secure string and encrypted data.

I encountered issues when I tried to export, then import the blueprint to all of our tenants encountering an error that the passwords are missing.

This is the script that I was using to get the content data, create a package, and export it.

#--- Get the blueprint/content and create new package
Get-vRAContent -limit 1000| ? {$_.Name -eq $Filter} | New-vRAPackage -Name $Name -Description $PackageDesc -Confirm:$false

#--- Export the new package | Cleanup after
Export-vRAPackage -Name $Name -Path $Path

Currently, the export command has still limited properties so I was thinking that this is not yet supported.
Reference: https://powervra.readthedocs.io/en/latest/functions/Export-vRAPackage/

Also, For cloudclient and REST API this works perfectly fine cause we just have to add the command "--secure false" to the export script.
Reference: https://docs.vmware.com/en/vRealize-Automation/7.2/com.vmware.vra.programming.doc/GUID-BEA80621-CDE3-4E07-96E9-23B507FEED47.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions