docker compose now runs a Postgres with sample tables and an SSH server that trusts the CA in OpenBao's ssh/ engine. seed.sh configures the database engine (dynamic and static roles), the ssh CA and a role, a few live leases, and grants for alice and the platform group. CI gains a Postgres service so the database engine and its admin-policy rules are tested against a real database (skipped when BAO_PG_URL is unset). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 lines
380 B
Plaintext
13 lines
380 B
Plaintext
# Certificate logins only: no passwords, no root.
|
|
Port 22
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
PermitRootLogin no
|
|
PubkeyAuthentication yes
|
|
AllowUsers deploy alice
|
|
# Written by entrypoint.sh from OpenBao's ssh/ engine.
|
|
TrustedUserCAKeys /etc/ssh/trusted-user-ca-keys.pem
|
|
LogLevel VERBOSE
|