Appearance
Authentication
Airlock handles authentication at multiple levels: user authentication to the Control Room, and API authentication for connecting to target services.
User Authentication
Users authenticate to the Airlock Control Room using:
- Email/Password: Standard email and password login
- Google OAuth: Sign in with Google
Organization Membership
Each user belongs to an organization. Organizations provide:
- Isolated data (servers, policies, users)
- Shared billing and quotas
- Team collaboration
API Authentication
When connecting AI agents to APIs through Airlock, credentials are handled per-user.
OAuth Integrations
For services that support OAuth (like Google Calendar):
- Go to your server's detail page
- Click the Connect button
- Complete the authorization flow in the popup window
- Airlock securely stores your OAuth tokens
OAuth tokens are automatically refreshed when they expire.
API Key Integrations
For services that use API keys or bearer tokens:
- Admin Setup: Your organization admin configures the API connection details for the server
- User Connection: Go to your server's detail page
- Enter your API credentials (API key or bearer token)
- Click Save
Credential Security
All credentials are encrypted at rest using AES-256-GCM:
- Encryption happens before storage
- Keys are managed securely
- Credentials are decrypted only when making API calls
MCP Connection Authentication
When AI agents connect to Airlock via MCP, they authenticate using MCP OAuth 2.0:
- Add the MCP URL to your AI client (Claude Desktop, Augment, etc.)
- The client initiates the OAuth flow automatically
- You authenticate in your browser
- The client receives access tokens and connects
This happens seamlessly when you add a new connector in Claude Desktop.
Best Practices
- Use OAuth When Available: OAuth provides better security than static API keys
- Rotate Credentials Regularly: Update API tokens periodically
- Use Least Privilege: Provide tokens with minimal required permissions
- Monitor Usage: Check audit logs for unusual activity
- Revoke Unused Access: Remove credentials when no longer needed