-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Workflow
Adhika P. edited this page Jan 20, 2025
·
1 revision
-
Development Phase
- Encrypt all sensitive values during development
- Use appropriate environment-specific configurations
- Maintain encrypted configuration files in version control
-
Validation Phase
- Use
validatecommand to ensure configuration integrity - Compare configurations between environments
- Resolve any discrepancies before deployment
- Use
-
Deployment Phase
- Use
decryptcommand in secure deployment environments - Generate environment-specific configuration files
- Ensure proper key availability in deployment environment
- Use
-
Post-Deployment
- Delete decrypted configuration files
- Verify application functionality
- Monitor for configuration-related issues
# Example CI/CD pipeline commands
configfern validate --env prod
configfern decrypt --env prod --force
# Deploy application
rm ./deploy/appsettings.json # Clean up- Secure storage of encryption keys in CI/CD environment
- Proper cleanup of decrypted files
- Access control for deployment configurations