Secrets

Deploys fetch secrets at run time. No value reaches a browser.

The problem

Secrets used to sit in .env files and in GitHub repository settings, where one leaked token or one buggy page could expose all of them.

How it works

A deploy logs in to its own Infisical project with GitHub OIDC, joins the private network for that one run, and fetches an SSH key that only works from inside that network. Rotating or issuing a credential goes through a separate broker, which asks for a fresh second factor and never returns the value.

What I decided

The web console never holds admin credentials. Only the broker does. Every approval works once and is logged without the value, so a secret never shows up in a browser or in an AI chat.

Architecture

  1. GitHub ActionsOIDCmy code
  2. Infisicalper-repo project
  3. Private networkone run
  4. Server
Status
Live
Built with
InfisicalGitHub OIDCTailscale.NETAuthentikCaddy
Numbers
12broker actions behind a second factor
65 sapproval replay window
History
  1. Deploys fetch secrets at run time; a broker that asks for a second factor is built for rotation.
  2. Per-repo CI through GitHub OIDC and Tailscale; public SSH port closed on two servers.