$ initiat guides
Multi-Environment Setup
Set up projects for different environments (dev, staging, prod)
Back to Docs

Steps

#1 List Available Projects

See current project structure

      initiat project list
      
    

→ Review existing projects and their initialization status

#2 Initialize Production

Initialize production project keys

      initiat project init acme-corp/production
      
    

→ Set up keys for production environment

#3 Initialize Staging

Initialize staging project keys

      initiat project init acme-corp/staging
      
    

→ Set up keys for staging environment

#4 Initialize Development

Initialize development project keys

      initiat project init acme-corp/development
      
    

→ Set up keys for development environment

#5 Set Environment Secrets

Set environment-specific secrets

      initiat secret set API_KEY --value "prod-key" --project-path acme-corp/production
initiat secret set API_KEY --value "staging-key" --project-path acme-corp/staging
initiat secret set API_KEY --value "dev-key" --project-path acme-corp/development

      
    

→ Store different secrets for each environment

#6 Verify Setup

Verify secrets are properly stored

      initiat secret list --project-path acme-corp/production
      
    

→ Confirm that environment-specific secrets are stored correctly

Success criteria

  • All environments have initialized project keys

  • Environment-specific secrets are stored

  • Team members can access appropriate environments

Next steps

  • →

    Configure CI/CD pipelines for each environment

  • →

    Set up automated secret rotation

  • →

    Train team on environment-specific workflows

© 2025 Initiat Technologies. All rights reserved.