Files
secret/script/vault-install.ps1
maze c00bca7ba5
Some checks failed
Test / tests (darwin-amd64) (push) Successful in 20s
Test / tests (linux-amd64) (push) Successful in 25s
Run Gosec / tests (push) Successful in 50s
Test / tests (linux-arm64) (push) Successful in 2m58s
Test / tests (windows-amd64) (push) Failing after 15s
Move scripts out of the workflow itself
2025-09-09 15:09:00 +02:00

7 lines
386 B
PowerShell
Executable File

$vaultVersion = "1.20.3"
$vaultUrl = "https://releases.hashicorp.com/vault/$vaultVersion/vault_${vaultVersion}_windows_amd64.zip"
Write-Output "🌍 Downloading Vault ${vaultVersion}"
Invoke-WebRequest -Uri $vaultUrl -OutFile "vault.zip"
Write-Output "⚡️ Extracting vault_${vaultVersion}_windows_amd64.zip"
Expand-Archive -Path "vault.zip" -DestinationPath .
& "./vault.exe" version