[AIR-3][AIS-3][BPC-3][RES-3]
Anya Core Sensitive Data Management¶
Overview¶
Add a brief overview of this document here.
Table of Contents¶
This guide explains how to set up and manage sensitive data for your Anya Core installation.
Prerequisites¶
- Python 3.7 or higher
- pip (Python package installer)
Installation¶
- Install required packages:
Usage¶
The sensitive data management script provides three main commands:
1. Initial Setup¶
For new installations:
This will: - Create configuration directories - Generate secure secrets - Set up database credentials - Configure API keys - Set up email settings - Create environment variables
2. Update Configuration¶
To update existing configuration:
This allows you to: - Update database credentials - Rotate API keys - Change email settings - Generate new secrets
3. View Configuration¶
To view current (non-sensitive) configuration:
Configuration Storage¶
The script stores configuration in several locations:
~/.anya/sensitive_config.yml: Non-sensitive configuration~/.anya/secrets.yml: Sensitive configuration (encrypted).env: Environment variables for your application
Security Best Practices¶
- Never commit sensitive files:
.envsecrets.yml-
Any files containing API keys or passwords
-
Use environment variables in production
- Regularly rotate secrets and API keys
- Keep your configuration files secure
- Use strong passwords
Troubleshooting¶
If you encounter issues:
- Check file permissions
- Verify Python version
- Ensure all required packages are installed
- Check configuration file locations
Last updated: 2025-06-02