Skip to content
Brandon Olin edited this page Jan 4, 2016 · 6 revisions

Resolves a credential object using a plain text username and password.

USE ONLY FOR TESTING!

Parameters

Name Type Required Description
Username string True Username for credential
Password string True Password for credential

Example

resource 'POSHOrigin_vSphere:VM' 'VM01' @{
    ensure = 'present'
    description = 'Test VM'
    ###
    # Other options omitted for brevity
    ###
    guestCredentials = Get-POSHOriginSecret 'pscredential' @{
        username = 'administrator'
        password = 'K33p1t53cR3tK33p1t5@fE'
    }
}