Security Best Practices
Recommendations for securing your Docka deployment.
Account Security
- Enable 2FA - Add two-factor authentication to your account
- Use Strong Passwords - Minimum 12 characters with mixed case, numbers, symbols
- Review Sessions - Regularly check active sessions and revoke unknown ones
API Security
- Rotate API Keys - Regenerate keys periodically
- Use Scoped Keys - Create keys with minimal required permissions
- Secure Storage - Never commit API keys to version control
Server Security
- Use SSH Keys - Never use password authentication
- Keep Agents Updated - Auto-update enabled by default
- Private Networks - Use VPC for internal services
- Firewall Rules - Restrict access to necessary ports only
Database Security
- Private Networking - Never expose databases publicly
- Regular Backups - Enable automated daily backups
- Encryption - Use encrypted connections (SSL/TLS)
Secrets Management
- Store secrets in environment variables, not code
- Use the Secrets Vault for sensitive credentials
- Rotate secrets regularly
- Audit secret access logs