Skip to content

Client Configuration

Create a coldrune.yml in your project directory to set defaults for CLI commands:

server_url: http://localhost:7100
org: my-org
project: api-backend
env: dev

With this file, you can omit repeated flags:

# Instead of:
coldrune secret get DB_PASSWORD --org my-org --project api-backend --env dev

# Just:
coldrune secret get DB_PASSWORD

Each parameter is resolved in this order (first match wins):

  1. CLI flag (--org, --project, --env)
  2. Environment variable (COLDRUNE_ORG, COLDRUNE_PROJECT, COLDRUNE_ENV)
  3. coldrune.yml in the current directory
  4. Error (parameter required)
VariablePurpose
COLDRUNE_SERVER_URLServer URL (default: http://localhost:7100)
COLDRUNE_API_KEYService account API key (overrides session token)
COLDRUNE_ORGDefault organization
COLDRUNE_PROJECTDefault project
COLDRUNE_ENVDefault environment

The --server-url flag (or COLDRUNE_SERVER_URL) sets the server address for all CLI client commands:

coldrune --server-url https://api.coldrune.com secret list

Or in coldrune.yml:

server_url: https://api.coldrune.com

For server-side configuration (environment variables for coldrune server start), see Self-Hosting / Configuration.