Skip to content

Deployment Workflow

Adhika P. edited this page Jan 20, 2025 · 1 revision

Deployment Workflow

Standard Deployment Process

  1. Development Phase

    • Encrypt all sensitive values during development
    • Use appropriate environment-specific configurations
    • Maintain encrypted configuration files in version control
  2. Validation Phase

    • Use validate command to ensure configuration integrity
    • Compare configurations between environments
    • Resolve any discrepancies before deployment
  3. Deployment Phase

    • Use decrypt command in secure deployment environments
    • Generate environment-specific configuration files
    • Ensure proper key availability in deployment environment
  4. Post-Deployment

    • Delete decrypted configuration files
    • Verify application functionality
    • Monitor for configuration-related issues

CI/CD Integration

Automated Deployment

# Example CI/CD pipeline commands
configfern validate --env prod
configfern decrypt --env prod --force
# Deploy application
rm ./deploy/appsettings.json  # Clean up

Security Considerations

  • Secure storage of encryption keys in CI/CD environment
  • Proper cleanup of decrypted files
  • Access control for deployment configurations

Back to Home

Clone this wiki locally