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:
parent
fa6714caca
commit
a1ad354bde
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue