8 lines
186 B
PowerShell
8 lines
186 B
PowerShell
param(
|
|
$service,
|
|
$password
|
|
)
|
|
|
|
if($service -eq "gitlab"){
|
|
$password | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File ~/.credentials/gitlab
|
|
} |