Files
secret/script/vault-setup.ps1
maze 45d09fd25b
Some checks failed
Test / tests (darwin-amd64) (push) Successful in 19s
Test / tests (linux-amd64) (push) Successful in 22s
Test / tests (windows-amd64) (push) Failing after 27s
Test / tests (linux-arm64) (push) Successful in 4m6s
Run Gosec / tests (push) Successful in 6m14s
Moar bugs squashed
2025-09-09 16:44:55 +02:00

8 lines
349 B
PowerShell
Executable File

# Populate our test secrets
Write-Output "🔐 Populating test secrets:"
& "./vault.exe" vault kv put "${env:TEST_VAULT_KEY}" data="${env:TEST_VAULT_VALUE}"
# Populate our test transit backend with key
Write-Output "🔐 Populating test transit backend:"
& "./vault.exe" vault secrets enable transit
& "./vault.exe" vault write -f transit/keys/test