12
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-05-15 04:50:33 +00:00

give vault user permission to read certs

This commit is contained in:
Srikrishna Iyer 2026-05-06 20:52:19 +05:30
parent fa6714caca
commit a1ad354bde
No known key found for this signature in database
GPG key ID: 212F890C328D4059
2 changed files with 9 additions and 1 deletions

View file

@ -89,6 +89,9 @@ mv client-key.pem client.key
# ── Remove intermediates not needed at runtime ────────────────────────────────
rm -f ca.csr server.csr client.csr ca-key.pem cfssl-config.json
# Ensure files are readable by the vault container user
chmod 644 ./*.crt ./*.key
# ── Copy vault server config ──────────────────────────────────────────────────
cp "$REPO_ROOT/integrationTests/e2e-tls/configs/config.hcl" config.hcl