Termsheep Cloud is coming soon.Cloud is coming soon.Join the waitlist →

Harden your installation

Apply the deployment checks that matter for first setup, proxy boundaries, keys and backups.

On this page

Use the arrow keys to scroll the table.

Protect network and database access

  • Create the first owner on loopback. Confirm in a signed-out session that /signup redirects to sign-in before opening the HTTPS proxy.

  • Protect the first administrator’s setup proof and the persistent data directory. Set the public HTTPS origin in TERMSHEEP_PUBLIC_URL before sending links or enabling browser SSO.

  • Keep PostgreSQL and the direct platform port private. Trust forwarding headers only when the trusted proxy controls them and is the only route to the backend.

  • For production, prefer separate application and system database logins and use the owner credential only for the migration job. See split credentials.

  • Use the non-root, read-only platform image without extra capabilities. Pin the reviewed source revision or verified release digest and keep the host, database and clients updated.

  • Leave TOPCOAT_DEV_URL unset in production. Keep the SMTP and SSO private-network expectations documented and use test-only loopback settings only for intended local use.

Protect credentials and operations

  • Store database and relay credentials securely. Back up the sealing-key file with the database and preserve its bytes and permissions. Mount a supplied pepper read-only and make it readable by the non-root service account. Use private broker and signer credential files.
  • Synchronize clocks on hosts and clients. Schedule backups and rehearse a restore. Determine limits and a maintenance window on your workload rather than assuming multi-replica support.
  • Control log and backup access. Omit tokens, private hostnames and contact details from support material. Verify the final HTTPS invitation URL and real delivery before inviting users.
  • Review memberships, vault roles, active devices and pending access. Compare safety numbers out of band. Investigate changed SSH host keys and rotate credentials exposed to former members.

Remove access and manage retained copies

When someone leaves, transfer ownership first where needed. Remove their access and review active devices, group memberships and grants. If using SCIM, verify the deactivation and the resulting access change. Review the audit trail and rotate SSH credentials the person held. Record revocations so they can be reconciled after a restore.

Before an owner deletes a vault, check its scope and which copies are retained in client stores, exports and backups. Apply your retention schedule to those copies separately. See audit export and retention and backup verification.

An organization owner can delete the organization. The tenant owner can also delete it, even without direct organization membership. Transfer or preserve needed data, then remove all teams from that organization. Remaining teams block deletion. Call DELETE /api/v1/organizations/{id} as the owner. See the API reference.

Understand the boundaries

Vault contents are encrypted on the client. The server still handles account and access metadata. A compromised unlocked client or a browser served malicious code can expose data. Revocation cannot recall copies someone already made. Read the threat model.