CorfedoCorfedoDocs

Security

What an installation exposes on the network, where its secrets are kept, how to recover sign-in and how to clear a network list that locks everyone out, on a single host and on Kubernetes.

This page covers what the operator controls on the host or the cluster. Workspace administrators control sign-in, client access and network lists in Settings.

Network exposure

Port or addressServed byWho needs it
443, or the --port you choseCaddy, for the workspace address and, with the bundled account service, auth.<workspace address>Browsers, coding agents, the CLI and SDKs
80Caddy, with --tls acme onlyLet's Encrypt, to issue and renew the certificate

The installer listens on 127.0.0.1 for .localhost names and on every address otherwise. Choose another with --bind. PostgreSQL, the account service's database and the search engine are reachable only inside the installation's Docker network.

The installation needs outbound HTTPS to download releases and images, to reach the forges and AI providers your workspaces use, and to fetch the identities of MCP clients and the CLI from clients.corfedo.ai and the clients' own hosts.

Where secrets are kept

WhereWhat
.envGenerated database passwords
generated/Signing and encryption keys, the workload CA and certificates, the setup secret, the account service's client secrets
backups/Recovery sets, which contain both

Limit the installation directory to the operator.

Forge credentials, AI provider credentials, sign-in client secrets and Slack app secrets that administrators save in Settings are stored in the database, encrypted with the installation's encryption key.

Audit log retention

The audit log keeps each sign-in and change with the network address and browser until you set a limit in installation settings. Administrators see the limit in Settings › Privacy.

Recover sign-in

When sign-in breaks at the identity provider and no administrator can sign in, issue a recovery link:

sh ~/corfedo/install.sh recover-sign-in

It prints a single-use link, valid for 30 minutes. Open it in a browser to repair the sign-in connections and appoint an administrator. Issuing the link is recorded in the audit log.

Clear a network list

A workspace administrator can limit where the workspace is used from in Settings › Network access. Corfedo refuses a list that leaves out the saving administrator's own address, but a network change can still lock every administrator out. Clear the list:

sh ~/corfedo/install.sh clear-network-list

It prints the removed list.

Check: administrators can sign in from any network. The workspace's audit log records the change as an operator command.

On this page