Docs/Guides/Team onboarding

Team onboarding: shared token policies

Set up KeyVault Edge for your engineering team. Create shared tokens, configure access policies, and make new developer onboarding instant.

Organization setup

KeyVault Edge organizations allow you to share tokens across a team without sharing the underlying real API keys. Team members get access to use sanitized tokens; only token admins can see or modify the underlying key bindings.

  1. 1.Create an organization at Settings → Organization → New
  2. 2.Invite team members by email - they get a dashboard login with their assigned role
  3. 3.Create shared tokens that the whole team can reference
  4. 4.Commit the shared .env file to your repository

Role model

Owner

  • Create and delete tokens
  • View real key references
  • Manage billing
  • Manage team members

Admin

  • Create and delete tokens
  • Manage authorized origins
  • View breach alert logs
  • Invite members

Developer

  • View token list (not values)
  • Copy sanitized tokens for use
  • View their own usage logs

The new developer onboarding workflow

Once your team is on KeyVault Edge, new developer onboarding for API access is reduced to:

New developer setup
# 1. Clone the repo (already contains .env with shared sanitized tokens)git clone https://github.com/yourorg/yourrepo # 2. Install dependenciesnpm install # 3. Start dev server - API calls work immediatelynpm run dev # That's it. No Slack message asking for API keys.# No risk of a real key being shared over an insecure channel.

Token policy recommendations

Create separate tokens for production, staging, and development - different origin lists
Use descriptive token names: 'Production OpenAI - Main App' not 'token1'
Audit token usage monthly in the dashboard - remove unused tokens
When a developer leaves: revoke their personal tokens immediately, shared tokens are unaffected
Enable breach alerts for all production tokens with webhook + email

Environment segregation

.env
# .env (committed - development token, localhost origin)OPENAI_API_KEY=kve_hb_dev_7xKm9...OPENAI_BASE_URL=https://openai.keyvaultedge.com/v1 # Set in CI/staging deployment:# OPENAI_API_KEY=kve_hb_stg_3pLm2...   (staging.yourdomain.com origin) # Set in production deployment secrets:# OPENAI_API_KEY=kve_hb_prd_9nRs4...   (yourdomain.com origin)