Add installation script for TPM unseal and bootstrap services
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
CONFIG="/etc/vault.d/tpm2.env"
|
||||
if [ -r "$CONFIG" ]; then
|
||||
set -a; . "$CONFIG"; set +a
|
||||
fi
|
||||
|
||||
: "${VAULT_ADDR:?VAULT_ADDR must be set}"
|
||||
TPM_UNSEAL_SCRIPT="${TPM_UNSEAL_SCRIPT:-/usr/local/sbin/tpm-unseal-password.sh}"
|
||||
TPM_HANDLE="${TPM_HANDLE:-0x81010001}"
|
||||
|
||||
Reference in New Issue
Block a user