Move scripts out of the workflow itself
Some checks failed
Some checks failed
This commit is contained in:
12
script/vault-setup.sh
Executable file
12
script/vault-setup.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -u
|
||||
|
||||
# Populate our test secrets
|
||||
echo "🔐 Populating test secrets:"
|
||||
vault kv put "${TEST_VAULT_KEY}" data="${TEST_VAULT_VALUE}"
|
||||
|
||||
# Populate our test transit backend with key
|
||||
echo "🔐 Populating test transit backend:"
|
||||
vault secrets enable transit
|
||||
vault write -f transit/keys/test
|
Reference in New Issue
Block a user