Skip to main content

cirron env

Manage environment variables for your Cirron project environments (development, staging, production, etc.) via the Cirron API.

Usage

Options

OptionDescriptionDefault
--env, -eTarget environmentproduction

Subcommands

list

List all environment variables for an environment. Sensitive values (keys containing password, secret, or key) are automatically masked.
Example output:

set

Set or update an environment variable.

delete

Delete an environment variable. Prompts for confirmation before deletion.

Security

  • Values for keys containing password, secret, or key are masked in all output.
  • Variables are transmitted encrypted and stored securely on the Cirron platform with per-project, per-environment access control.
  • Never log secrets in CI; pass them via your CI’s secret store. Regularly audit with env list and remove unused variables with env delete.

Requirements

Requires a cirron.yaml with declared environments and an authenticated CLI session.

Examples

CI/CD Integration

Troubleshooting

ErrorResolution
No cirron.yaml foundRun cirron init my-project
Not authenticatedRun cirron auth login; verify with cirron auth status
Failed to fetch environment variablesCheck connectivity, re-authenticate, verify cirron config --get apiUrl
Invalid environmentEnsure the name matches an entry under environments in cirron.yaml
  • cirron auth - Manage authentication
  • cirron config - Manage CLI configuration
  • cirron deploy - Deploy applications
  • cirron status - Check system status