Skip to content

Commit

Permalink
DSOS-2635: bug fix for ADCredential module (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj authored Mar 1, 2024
1 parent 21a3017 commit 7e1bff2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function Get-ModPlatformADCredential {
$SecretValueRaw = aws secretsmanager get-secret-value --secret-id "${SecretArn}" --query SecretString --output text
}
$SecretValue = "$SecretValueRaw" | ConvertFrom-Json
$DomainNameNetbios = $ModPlatformADConfig.DomainNameNetbios
$DomainJoinUsername = $ModPlatformADConfig.DomainJoinUsername
$DomainJoinPassword = $SecretValue.$DomainJoinUsername
if (-not $DomainJoinPassword) {
Expand Down

0 comments on commit 7e1bff2

Please sign in to comment.