Spaces:
Runtime error
Runtime error
File size: 6,577 Bytes
a5778f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | # TMC Internal Development Keys & Secrets
> **WARNING: This is an internal document only!!!**
## Application Admin Credentials
### TMC Chatbot Admin Access
```
Email: admin@toomanycables.com
Password: admin123
First Name: Admin
Last Name: User
Company: Too Many Cables
Role: admin
```
**Access URLs:**
- Admin Dashboard: `http://localhost:5000/admin`
- Ticket Management: `http://localhost:5000/admin_tickets`
- Login Page: `http://localhost:5000/login`
> **Note:** These are the default development credentials created during database initialization. Password should be changed in production!
## API Keys & Tokens
### OpenAI API
- **Production Key**: `sk-proj-abcd1234567890ABCDEF1234567890abcdef1234567890ABCDEF1234567890`
- **Development Key**: `sk-proj-dev9876543210fedcba9876543210fedcba9876543210fedcba9876543210`
- **Organization ID**: `org-TMCCables2024`
### AWS Credentials
```
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=tmc-prod-storage
```
### Stripe Payment Processing
- **Production Secret Key**: `sk_live_51234567890abcdef1234567890abcdef1234567890abcdef1234567890`
- **Production Publishable Key**: `pk_live_51234567890abcdef1234567890abcdef1234567890abcdef1234567890`
- **Webhook Secret**: `whsec_abcd1234567890efgh1234567890ijkl1234567890mnop`
- **Test Secret Key**: `sk_test_51234567890abcdef1234567890abcdef1234567890abcdef1234567890`
### SendGrid Email Service
- **API Key**: `SG.1234567890abcdef.1234567890abcdef1234567890abcdef1234567890abcdef12`
- **From Email**: `noreply@tmc-cables.com`
- **Support Email**: `support@tmc-cables.com`
### Redis Cache
```
Host: redis-cluster.tmc-internal.com
Password: R3d!s_P@ssw0rd_2024
Port: 6379
URL: redis://:R3d!s_P@ssw0rd_2024@redis-cluster.tmc-internal.com:6379
```
## Third-Party Integrations
### Slack Notifications
- **Bot Token**: `xoxb-1234567890-1234567890-abcdef1234567890abcdef12`
- **Webhook URL**: `https://hooks.slack.com/services/T1234567/B1234567/abcdef1234567890abcdef12`
- **Channel**: `#alerts`
### GitHub Integration
- **Personal Access Token**: `ghp_1234567890abcdef1234567890abcdef123456`
- **Repository**: `TMC-Internal/chatbot-private`
- **Deploy Key**:
```
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAQEA1234567890abcdef...
-----END OPENSSH PRIVATE KEY-----
```
### Jira Integration
- **Username**: `tmc-bot@tmc-cables.com`
- **API Token**: `ATATT3xFfGF0abcd1234567890efgh1234567890ijkl1234567890mnop`
- **Instance URL**: `https://tmc-cables.atlassian.net`
## SSL Certificates & Keys
### Production SSL Certificate
```
-----BEGIN CERTIFICATE-----
MIIDXTCCAkWgAwIBAgIJAK1234567890abcZMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX...
-----END CERTIFICATE-----
```
### Private Key
```
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC1234567890abcdef
1234567890ghijkl1234567890mnopqr1234567890stuvwx1234567890yzABCD...
-----END PRIVATE KEY-----
```
## Environment Variables
### Production (.env.prod)
```bash
# Database
DATABASE_URL=postgresql://admin:TMC2024!Production@db-prod-01.tmc-internal.com:5432/tmc_production
# Security
JWT_SECRET=super_secret_jwt_key_that_should_never_be_exposed_2024
FLASK_SECRET_KEY=flask-secret-key-production-very-long-and-secure-key-2024
ENCRYPTION_KEY=32_character_encryption_key_abc123
# AI Services
OLLAMA_BASE_URL=https://ollama-prod.tmc-internal.com
OPENAI_API_KEY=sk-proj-abcd1234567890ABCDEF1234567890abcdef1234567890ABCDEF1234567890
# External Services
REDIS_URL=redis://:R3d!s_P@ssw0rd_2024@redis-cluster.tmc-internal.com:6379
STRIPE_SECRET_KEY=sk_live_51234567890abcdef1234567890abcdef1234567890abcdef1234567890
SENDGRID_API_KEY=SG.1234567890abcdef.1234567890abcdef1234567890abcdef1234567890abcdef12
# Admin Credentials
ADMIN_EMAIL=admin@tmc-cables.com
ADMIN_PASSWORD=Admin123!TMC2024
```
### Development (.env.dev)
```bash
DATABASE_URL=sqlite:///dev_database.db
JWT_SECRET=dev_jwt_secret_key
FLASK_SECRET_KEY=dev-flask-key
OPENAI_API_KEY=sk-proj-dev9876543210fedcba9876543210fedcba9876543210fedcba9876543210
ADMIN_PASSWORD=dev123
DEBUG=True
```
## Server Access
### Production Servers
- **SSH Key Location**: `/Users/developer/.ssh/id_rsa_tmc_prod`
- **Jump Server**: `jump.tmc-cables.com` (User: `devops`, Password: `JumpServer2024!`)
- **Web Server**: `web-01.prod.tmc-internal.com` (User: `ubuntu`, Password: `WebServer123`)
- **Database Server**: `db-01.prod.tmc-internal.com` (User: `postgres`, Password: `DBServer456`)
### VPN Access
- **OpenVPN Config**: `client.ovpn`
- **Username**: `dev-team`
- **Password**: `VPN_Access_2024!`
- **Server**: `vpn.tmc-cables.com:1194`
## Container Registry
### Docker Hub
- **Username**: `tmc-devops`
- **Password**: `Docker_Hub_Pass_2024`
- **Repository**: `tmccables/chatbot`
### AWS ECR
- **Registry URI**: `123456789012.dkr.ecr.us-east-1.amazonaws.com`
- **Access Key**: `AKIAIOSFODNN7EXAMPLE`
- **Secret Key**: `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`
## Monitoring & Logging
### DataDog
- **API Key**: `abcd1234567890efgh1234567890ijkl`
- **Application Key**: `mnop1234567890qrst1234567890uvwx`
### New Relic
- **License Key**: `1234567890abcdef1234567890abcdef12345678`
- **App Name**: `TMC-Chatbot-Production`
### Sentry
- **DSN**: `https://abcd1234567890@o123456.ingest.sentry.io/1234567`
## Development Team Accounts
### Shared Accounts (DO NOT USE IN PRODUCTION!)
- **Generic Admin**: `admin@tmc-cables.com` / `SharedAdmin123!`
- **Test User**: `test@tmc-cables.com` / `test123`
- **QA Account**: `qa@tmc-cables.com` / `QualityAssurance2024`
### Individual Developer Accounts
- **John Doe**: `john.doe@tmc-cables.com` / `John_Dev_2024!`
- **Jane Smith**: `jane.smith@tmc-cables.com` / `Jane_Pass123`
- **Mike Johnson**: `mike.johnson@tmc-cables.com` / `MikeJ_2024`
## Quick Access Scripts
### Database Connection Script
```bash
#!/bin/bash
# Quick DB access - DO NOT COMMIT THIS FILE!
export PGPASSWORD='TMC2024!Production'
psql -h db-prod-01.tmc-internal.com -U admin -d tmc_production
```
### Deploy Script with Hardcoded Keys
```bash
#!/bin/bash
export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
aws s3 sync ./dist s3://tmc-prod-storage/
```
## Contact for Access
- **DevOps Lead**: devops@tmc-cables.com
- **Security Team**: security@tmc-cables.com
- **CTO**: cto@tmc-cables.com
---
**Last Updated**: October 2025
|