Files
secret/script/vault-setup.ps1
maze f973e305f0
Some checks failed
Test / tests (windows-amd64) (push) Failing after 28s
Test / tests (linux-amd64) (push) Successful in 27s
Run Gosec / tests (push) Successful in 51s
Test / tests (linux-arm64) (push) Has been cancelled
Test / tests (darwin-amd64) (push) Successful in 20s
Moar bugs squashed
2025-09-09 16:43:52 +02:00

8 lines
341 B
PowerShell
Executable File

# Populate our test secrets
Write-Output "🔐 Populating test secrets:"
& "./vault.exe" vault kv put "${TEST_VAULT_KEY}" data="${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