.env file is coming from Sink.
1
Create an account
Sign up at usesink.co/auth/signup with email and password, Google, or GitHub. Signing up creates your first workspace for you.
2
Install the CLI
/cli/manifest.json, verifies the wheel’s checksum against it, and links sink into ~/.local/bin. Because the script is served by the deployment it installs a client for, the version always matches the server.3
Create an API key
In the dashboard, open API Keys and create one. Keys begin with
sk-; treat them like a password. The token is shown once, at creation.4
Log in
~/.config/sink/config.json, written readable only by you.5
Link the directory
From the repository that should receive the secrets:With no flags it walks you through picking a workspace, team, project and default environment. To skip the prompts:This writes
.sink.json — ids and display names, no values. It is safe to commit, and pull, push and diff find it by walking up from the current directory..sink.json
6
Sync
sink pull staging.Files written by pull are created 0600. push shows you the plan — creates, updates, and what it is leaving alone — and waits for a yes before writing anything.Bringing existing variables in
If your values currently live on a hosting provider, import them rather than copying by hand:Running in CI
Don’t runsink login in a pipeline. Set two environment variables instead:
SINK_API_KEY takes precedence over anything stored on disk or in a keychain. Secrets in CI covers the full pattern, including drift checks.
Next steps
Core concepts
What a workspace, team, project and environment each hold.
CLI reference
Every command and flag.
Security model
How values are encrypted, and what Sink can and cannot see.
Plans and limits
What each tier allows.
