2024-07-09 16:28:45 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -u
|
|
|
|
|
|
|
|
while true ;do
|
2024-07-11 09:07:03 +03:00
|
|
|
# /go/bin/vault-wrap -action-address "${ACTION_ADDRESS}" -vault-url "${VAULT_ADDRESS}" -tls-cert "/usr/local/share/vault-wrap/${TLS_CERT_FILE}" -tls-key "/usr/local/share/vault-wrap/${TLS_KEY_FILE}" -template-dir /usr/local/share/vault-wrap -log-file /var/log/vault-wrap/vault-wrap.log -listen-port "${LISTEN_PORT}" -tls
|
2024-10-17 15:04:35 +03:00
|
|
|
/go/bin/vault-wrap -action-address "${ACTION_ADDRESS}" -template-dir /usr/local/share/vault-wrap -log-file /var/log/vault-wrap/vault-wrap.log -token-ttl ${TOKEN_TTL}
|
2024-07-09 16:28:45 +03:00
|
|
|
sleep 120
|
|
|
|
done
|