Skip to content

Commit

Permalink
add password
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Brownstein committed Apr 24, 2024
1 parent 639f09c commit bf68d87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VenafiPS/Public/Get-VdcCredential.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function Get-VdcCredential {
if ( $response.Classname -eq 'Certificate Credential' ) {
$return | Add-Member @{
'CertificatePath' = ($response.Values | Where-Object { $_.Name -eq 'Certificate DN' }).Value
'Password' = if ($pw) { ConvertTo-SecureString -String $pw -AsPlainText -Force }
}
}

Expand Down

0 comments on commit bf68d87

Please sign in to comment.