Steps
#1 Initialize Environment Management
Set up environment management in your project
initiat env init
→ Creates the .initiat directory structure and configures gitignore
#2 List Available Environments
See what environments are available
initiat env list
→ Shows all environments and their sync status
#3 Switch to Development Environment
Switch to the development environment
initiat env switch development
→ Sets the active environment to development
#4 Sync Development Secrets
Sync secrets from remote to local development environment
initiat env sync
→ Downloads and stores development secrets locally
#5 Verify Environment Setup
Confirm the current environment
initiat env current
→ Shows which environment is currently active
#6 Test Secret Access
Verify secrets are accessible in the environment
initiat secret list
→ Confirms that environment-specific secrets are available
#7 Clear Environment (Optional)
Clear the active environment when done
initiat env unset
→ Removes environment tracking and clears environment variables
Success criteria
-
Environment management is initialized
-
Can switch between environments
-
Secrets are synced to local environments
-
Direnv integration is working (if installed)
-
Can clear environments when needed
Next steps
-
→
Set up direnv for automatic environment loading
-
→
Configure CI/CD to use environment-specific secrets
-
→
Train team on environment management workflow