How to Onboard Developers to Production Databases Securely
Onboarding a new engineer is a critical moment for security. You want them to be productive on Day 1, but you don’t want to hand them the keys to the kingdom without guardrails.
Here is a checklist for securely onboarding developers to production data.
The “Anti-Checklist” (What NOT to do)
- ❌ DM them the database password.
- ❌ Tell them to “ask Bob” for the SSH key.
- ❌ Add their IP address to the AWS Security Group manually.
- ❌ Give them full
SUPERUSERaccess because it’s easier than configuring permissions.
The Secure Onboarding Checklist
1. Identity Provider (IdP) Setup
Ensure the new hire is in your IdP (Google Workspace, Okta, etc.) and assigned to the correct groups (e.g., engineering-team).
- Why: This is the source of truth. If they leave, disabling their IdP account should kill their access everywhere.
2. Role-Based Access Control (RBAC)
Assign them to a role in your access platform (like VaultSQL).
- Junior Devs:
Read-Onlyon Staging. No access to Production. - Senior Devs:
Read-Writeon Staging.Read-Onlyon Production (with JIT option for Write).
3. Environment Separation
Clearly label connections.
- Green: Local/Dev (Safe to break).
- Yellow: Staging (Be careful).
- Red: Production (Danger zone).
- Tip: VaultSQL allows you to color-code databases so developers know exactly where they are running queries.
4. The “First Query” Test
Have them log in to the secure workbench and run a simple SELECT 1 or SELECT count(*) FROM users.
- Goal: Verify connectivity without local configuration hell. No VPN setup, no
tnsnames.ora, no driver downloads.
5. Access Policy Training
Briefly explain the rules:
- “We don’t export customer data to CSV without approval.”
- “We use JIT access for write operations.”
- “All queries are logged.”
Why This Matters
By following this process, you achieve:
- Day 1 Productivity: No time wasted debugging connection strings.
- Security Hygiene: No static credentials are ever exposed to the new hire.
- Future-Proofing: Offboarding is just one click (remove from IdP), and you don’t have to rotate any passwords.
Conclusion
Onboarding is the best time to set the tone for security culture. Show your new hires that you take data protection seriously by giving them modern, secure tools instead of a sticky note with a password.