Add .gitignore to prevent credential exposure
SECURITY: Protect sensitive files from accidental commits Added comprehensive .gitignore to prevent committing: - Encryption keys (*.key, *.pem, encryption-key*.json) - Configuration files (pbs-client.conf, /config/) - Credentials and secrets (.env, credentials*, secrets*) - Logs that might contain sensitive data (*.log, /logs/) - Temporary files (*.tmp, *.swp, *~) - IDE and build artifacts This ensures no sensitive data is accidentally committed to the repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
583a289523
commit
435d05b678
1 changed files with 54 additions and 0 deletions
54
.gitignore
vendored
Normal file
54
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
# Credentials and secrets
|
||||||
|
*.key
|
||||||
|
*.pem
|
||||||
|
*.json.bak
|
||||||
|
encryption-key*.json
|
||||||
|
encryption-key*.txt
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
credentials*
|
||||||
|
secrets*
|
||||||
|
|
||||||
|
# Configuration files that might contain credentials
|
||||||
|
/config/
|
||||||
|
pbs-client.conf
|
||||||
|
*.conf.backup
|
||||||
|
|
||||||
|
# Logs that might contain sensitive info
|
||||||
|
*.log
|
||||||
|
/logs/
|
||||||
|
|
||||||
|
# Temporary files
|
||||||
|
*.tmp
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# IDE files
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.code-workspace
|
||||||
|
|
||||||
|
# Build artifacts
|
||||||
|
*.o
|
||||||
|
*.a
|
||||||
|
*.so
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
|
||||||
|
# Python
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
.Python
|
||||||
|
venv/
|
||||||
|
env/
|
||||||
|
ENV/
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
docker-compose.override.yml
|
||||||
|
|
||||||
|
# Test artifacts
|
||||||
|
test-results/
|
||||||
|
coverage/
|
||||||
Loading…
Reference in a new issue