Set-Secret | Get-Secret
This page covers using the Secrets feature in DeployR to securely pull secrets from the server to use in a task sequence
Create Secret
Set-Secret -Name "DellBIOSPassword" -Secret "P@ssw0rd" -Vault DeployRRetrieve Secret
Get-Secret -Name "DellBIOSPassword" | ConvertFrom-SecureString -AsPlainTexttry {
$SecretBIOSPassword = Get-Secret -Vault DeployR -Name "DellBIOSPassword" | ConvertFrom-SecureString -AsPlainText -ErrorAction Stop
}
catch {
Write-Warning "DellBIOSPassword secret not found. Checking task sequence environment variable fallback."
}Console Example:

Last updated

