What problem does it solve?
Managing environment variables, secrets, and multi-environment configurations in Python projects can be complex and prone to security risks. This Skill streamlines the process, ensuring your application's settings are secure, consistent, and easy to manage.
Core Features & Use Cases
- .env File Management: Parse, validate, and securely manage
.env files for different environments.
- Secrets Encryption: Encrypt sensitive configuration files at rest for enhanced security.
- UV Integration: Leverage UV for fast and reliable Python package and project management.
- Use Case: You need to set up a new Python project with distinct configurations for development, staging, and production, ensuring API keys are never committed to version control and are encrypted for production. This Skill guides you through the setup and provides tools to manage it.
Quick Start
Example: Validate your .env file
python scripts/env_helper.py validate .env --required APP_NAME DATABASE_URL
Example: Encrypt sensitive secrets
python scripts/env_helper.py encrypt secrets.json secrets.encrypted