How Socket0 Works

    Your application calls Socket0 instead of the provider, presenting a connection id and one of your own API keys. We attach the real credential on the way out.

    The Problem

    Traditional secrets management exposes your credentials at multiple points

    Traditional Approach

    High Risk
    Your App
    Application codebase
    Loads API key from env var
    Any process can read env vars
    Stores key in memory
    Memory dumps expose keys
    Key exists in: env vars, memory, logs
    Attack surface: HUGE

    Socket0 Approach

    Secure
    Your App
    Application codebase
    Sends a connection id
    Useless without one of your API keys
    The relay attaches the credential
    Unsealed with the key your call carried
    Sealed to a key group you own
    Our store holds ciphertext we cannot open
    The Relay

    A Base URL and Two Headers

    Point the call at Socket0 instead of the provider and add two headers. Nothing is intercepted: the relay reserves no path of its own, so no call of yours is ever caught by accident.

    Your App
    sk0_live_…
    your own API key
    Socket0 Proxy
    abc-123 → sk_live_xxx
    token swap
    External API
    Bearer sk_live_xxx
    real credential
    Your app sends fake token
    Proxy swaps for real key
    API receives valid credential

    What changes in your code

    # today
    GET https://api.<provider>/<path>
    Authorization: Bearer <the provider secret you store today>
    # through Socket0
    GET https://proxy.socket0.com/<path>
    x-socket0-connection: <connection id>
    Authorization: Bearer sk0_live_…

    The method, path, query and body are yours and unchanged. Any credential you send yourself is dropped.

    Supported Authentication Patterns

    Bearer Token
    Stripe, OpenAI, GitHub, Slack
    API Key Header
    SendGrid, Twilio, custom APIs
    Basic Auth
    Jira, Atlassian, legacy systems
    Query Parameter
    Google Maps, YouTube, analytics
    Minimal
    Latency overhead
    1
    Base URL to change
    1
    Subrequest per call
    The Vault

    Sealed to Keys Only You Hold

    Secrets are encrypted in your browser or application before transmission. The Socket0 server only stores ciphertext.

    Client-Side Encryption Flow

    1
    Generate encryption keypair
    In your browser or application
    2
    Encrypt secret with your public key
    Using industry-standard encryption
    3
    Send ciphertext to server
    Server cannot read plaintext

    Multi-Key Encryption

    The same secret can be encrypted under multiple public keys simultaneously. Each team member decrypts with their own private key.

    A
    Alice can decrypt with her key
    B
    Bob can decrypt with his key
    M
    Manager can decrypt with their key
    // npm install @socket0/vault-sdk
    import
    { generateGroup, seal } from "@socket0/vault-sdk"
    const group = await generateGroup()
    const sealed = await seal(secret, group.publicKey, aad)
    // sealing needs the public half only —
    // the writer can store what it cannot read

    Ten operations, one implementation, shared by the relay, the control plane and your own code. Python, Go and Rust are planned.

    Run these operations in your browser at vault.socket0.com

    It loads this same package, generates real keys with Web Crypto and uploads nothing.

    Security You Can Trust

    Built on industry-standard encryption with cross-platform compatibility

    End-to-End Encryption

    Available

    Secrets are encrypted on your side, with the open-source vault SDK, before they reach us.

    We cannot read what we hold

    Available

    Every credential sealed to a key group whose private half exists only wrapped under your own API keys.

    Your Keys, Your Control

    Available

    We store the key group only in wrapped form. Your API keys are what unwrap it.

    Compliance Alignment

    Socket0 holds none of these today. This is what each one will rest on.

    SOC 2 Type II

    Planned

    Not held today. The controls we are building toward are encryption in transit and at rest, and access enforced cryptographically rather than by policy.

    HIPAA

    Planned

    Not held today, and holding no key to your credentials does not by itself exempt a vendor handling PHI from business-associate status.

    GDPR

    In development

    Deleting every API key for a key group makes that group's sealed data permanently unreadable. The self-serve surface for it is not built.

    PCI-DSS

    Planned

    Not held today. No payment credential has been relayed in production.

    Getting Started

    Relay a call

    In development
    # 1. register a connection, get its id
    # 2. point your client at the relay
    base_url = "https://proxy.socket0.com"
    # 3. send two headers
    x-socket0-connection: <connection id>
    Authorization: Bearer sk0_live_…

    Seal a secret yourself

    npm install @socket0/vault-sdk
    # MIT, ESM only, zero dependencies, Web Crypto only

    The same package the relay and the control plane use. Python, Go and Rust are planned.