Move scripts out of the workflow itself
Some checks failed
Some checks failed
This commit is contained in:
8
script/vault-setup.ps1
Executable file
8
script/vault-setup.ps1
Executable file
@@ -0,0 +1,8 @@
|
||||
# Populate our test secrets
|
||||
Write-Output "🔐 Populating test secrets:"
|
||||
& "./vault.exe" vault kv put "${{ vars.TEST_VAULT_KEY }}" data="${{ vars.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
|
Reference in New Issue
Block a user