client_id and client_secret.β οΈ CRITICAL: Mishandling credentials can result in unauthorized access, data breaches, financial loss, and integration suspension.
| Credential | Type | Sensitivity | Purpose |
|---|---|---|---|
client_id | Public identifier | π‘ Moderate | Identifies your application to SRS |
client_secret | Secret key | π΄ CRITICAL | Authenticates your application identity |
client_id = Your username (identifies who you are)client_secret = Your password (proves you are who you say you are)| Benefit | Description |
|---|---|
| π Encryption at Rest | Credentials stored encrypted in secure vaults |
| π Access Control | Role-based permissions control who can read secrets |
| π Audit Logging | Track when and by whom credentials are accessed |
| π Rotation Support | Automated credential rotation capabilities |
| π Centralized Management | Single source of truth for all environments |
| π No Plaintext Exposure | Credentials never stored in code or config files |
| β Location | Why It's Dangerous | Consequence |
|---|---|---|
| Source code files | Committed to version control, visible to all developers | Immediate security breach |
| Git repositories | History is permanent, even after deletion | Public exposure if repo leaked |
| Configuration files | Often checked into source control | Easy to accidentally commit |
| Plain text files | No encryption, easily readable | Direct access if server compromised |
| Environment variables (directly) | Visible in process listings, logs | Exposure through system monitoring |
| Hardcoded strings | Compiled into binaries, difficult to rotate | Impossible to change without redeployment |
| Email or chat messages | Unencrypted, stored indefinitely | Permanent record of credentials |
| Documentation | Screenshots, wikis, shared docs | Wide distribution, hard to revoke |
| Client-side code | JavaScript, mobile apps | Publicly accessible by end users |
az keyvault secret setaz keyvault secret showaws secretsmanager create-secretclient_id and client_secret in JSON formataws secretsmanager get-secret-valuevault kv putvault kv get -fieldkubectl create secret| Policy | Frequency | Enforcement |
|---|---|---|
| Recommended Rotation | Every 90 days | Partner responsibility |
| Mandatory Rotation | Every 6 months | SRS enforced |
β οΈ IMPORTANT: SRS will enforce credential rotation every 6 months. Plan ahead to avoid integration downtime.
client_id (not client_secret) when requesting supportβ οΈ If you suspect your credentials have been compromised, exposed, or leaked, take immediate action.
URGENT: Suspected Credential Compromise - [Your Company Name]client_id (safe to share)| Environment | Purpose | Credential Set |
|---|---|---|
| Staging/QA | Testing and development | Staging credentials |
| Production | Live customer orders | Production credentials |
client_id (for reference)| Role | Access Level | Justification |
|---|---|---|
| Production Engineers | Read production credentials | Deploy and maintain live systems |
| DevOps Team | Manage credentials in secrets manager | Infrastructure management |
| Security Team | Audit access logs | Security monitoring |
| Integration Developers | Read staging credentials only | Development and testing |
| Support Team | View client_id only (not secret) | Troubleshooting with SRS |
| Resource | Purpose | Link |
|---|---|---|
| Authentication Guide | How to authenticate with credentials | Authentication |
| Getting Started | Complete integration overview | Introduction |
| FAQ | Common questions and answers | FAQs |
client_id (safe to share)client_secret