Bring Your Own API Key Private AI: Self-Controlled Access with Cipher
BYOK in private AI means you mint, rotate, and revoke credentials — not sharing a communal bot login. Cipher is Secrypt’s sk_sec_ key model for developers at https://secrypt.space/v1 with OpenAI-compatible clients and $0.01 per request API metering after daily allowances from prepaid credits.
Key takeaway: BYOK in private AI means you mint, rotate, and revoke credentials — not sharing a communal bot login. Cipher is Secrypt’s sk_sec_ key model for developers at https://secrypt.space/v1 with OpenAI-compatible clients and $0.01 per request API metering after daily allowances from prepaid credits.
What BYOK means here
Bring your own API key in the Secrypt context means you create and control sk_sec_ keys in Account → API keys, then point your apps, IDE, or scripts at Cipher — not sharing one founder login across the team. Wiki disambiguation helps: BYOK here is Secrypt-issued keys you vault, not plugging OpenAI keys into a random wrapper site that might log prompts.
Clarity prevents conference hallway confusion when someone says BYOK meaning three different products. Conference hallway confusion drops when internal wiki disambiguates Secrypt sk_sec_ keys from plugging OpenAI credentials into unrelated wrapper products.
Security champions should present BYOK at lunch-and-learn with live key mint and revoke — fear drops when process is visible.
Benefits of self-controlled keys
Per-developer or per-service keys improve revocation, metering, and blame assignment when something leaks. Audit logs of mint and revoke answer who and when without guessing. Keys in vaults beat keys in Slack pins.
Rotation after interns leave should be same-day culture, not quarterly heroics. Finance can map Cipher spend to cost centers when keys are labeled by team — CFO questions arrive eventually. Audit logs of mint and revoke answer who and when during incident retros — shared logins cannot provide that granularity.
Blameless postmortems after key leaks should cite missing rotation, not individual shame — systems beat hero culture.
- Revoke one compromised key without resetting whole team
- Separate dev/staging/prod spend
- Audit which service called the model
- Align with secret management practices
BYOK vs shared chat login
Shared chat logins mix history, billing surprises, and offboarding risk. API keys separate automation from human threads when you assign keys per environment. ITSM offboarding should revoke keys the same day as laptop collection.
Service accounts own production cron jobs — not individuals’ personal keys. RACI for keys prevents orphan credentials nobody rotates after reorganizations. ITSM offboarding tickets should revoke Cipher keys the same day as laptop collection — parallel ceremony reduces orphan credentials.
Contractors on short engagements need keys with explicit expiry dates in ticketing systems — calendar beats memory.
| Pattern | Risk | Cipher BYOK |
|---|---|---|
| Shared password | No audit trail | Per-key identity |
| Personal OpenAI key in IDE | Training/policy drift | Secrypt policy |
| Embedded key in app | Leak via client | Server-side only |
| Rotating contractors | Stale access | Revoke keys instantly |
Creating and storing keys
secrypt.space → Account → API keys. Copy sk_sec_ once — treat like passwords. Store in 1Password, Vault, or cloud secret managers supported by your CI.
Onboarding tutorials in wiki reduce Slack pings asking how to mint a key. Never commit keys to git — pre-commit hooks should block obvious patterns. Separate staging and production keys so a hackathon repo cannot burn production credits.
Onboarding tutorials in wiki reduce Slack pings asking how to mint keys. Pre-commit hooks blocking sk_sec_ patterns in git are mandatory, not optional. 1Password CLI examples in wiki beat screenshots that blur secret characters — copy-paste errors waste afternoons.
Usage metering per key
Daily allowances on Free, Pro ($5/mo), and Unlimited ($10/mo) plans apply per account; monitor which key burns credits when multiple services share one account. 01 from prepaid credits.
Monthly spend emails per team build transparency — surprises erode trust. Dashboard review weekly during agent experiments — loops are cheaper to stop early than to explain on invoice day.
Cipher $0.01 per request arithmetic matters when burn is visible early. Grafana dashboards per key help agent owners see loops early — graph spikes precede invoice spikes.
OpenAI client compatibility
Start with curl against https://secrypt.space/v1 and model cipher. Public sample repos accelerate clones — reduce time from policy approval to hello world. Keep message shapes identical during migration A/B tests.
Compatibility is the point — do not rewrite client code unnecessarily. Document error handling for 429 and credit exhaustion beside integration guides. Public sample repositories cloning base_url swaps accelerate hello-world week for new hires joining mid-migration.
LangChain and similar frameworks often need only base_url changes — document framework-specific gotchas beside Cipher docs.
Privacy promises still matter
BYOK does not change Secrypt policy: conversations not used to train models, no ad profiling from messages. Team policy read-alouds build shared understanding better than assuming everyone read the footer. Keys authenticate you — they do not encrypt prompts from operator processing.
Honesty in internal training prevents false confidence. Minimization still applies. Keys are not a license to paste production databases into prompts.
Team policy read-alouds build shared understanding that keys authenticate but do not encrypt prompts from operator processing during inference. Minimization training belongs beside key training — developers with keys paste more than chat-only users.
Team workflows
Assign key owners per microservice. Ban shared production keys in wikis. Use Invite & Earn for credit top-ups only with comms approval — not spam.
Runbooks should list which keys each on-call rotation can rotate. Chaos during outages worsens when nobody knows vault paths. Quarterly access reviews for key lists belong next to database access reviews — same rigor.
RACI charts for keys prevent orphan credentials after reorganizations — name owners beside microservice names in service catalogs. On-call runbooks should list vault paths and escalation for key compromise — panic searches waste breach minutes.
Start in ten minutes
Mint key, run one curl or SDK call, verify response, add env var to staging, deploy. Bookmark Settings for clear and export habits from day one.
Day-seven calendar nudge to revisit metering — habits need reminders until dashboard checks are automatic. Revoke test keys after hello world — cleanliness early prevents prod/staging confusion later.
Day-seven calendar nudges to revisit metering dashboards — habits need reminders until weekly Cipher spend review feels normal. Pair hello-world with immediate revoke of the test key — good habits start on day one, not after first leak.
Frequently asked questions
Can I bring my OpenAI key to Secrypt?
No — BYOK here means Secrypt-issued sk_sec_ keys you create in Account → API keys, not plugging OpenAI credentials into Secrypt. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
How many keys can I create?
Create separate keys per service and environment. Label them in vaults so finance can map Cipher spend and security can revoke precisely. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
Do keys expire automatically?
Rotate on schedule and on termination — do not rely on heroic memory. Quarterly audits belong on the calendar next to database access reviews. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
Is BYOK more private than chat UI?
Privacy stance is the same; BYOK improves revocation, metering, and automation hygiene. Keys in repos defeat both chat and API postures. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
Can keys fund via Invite & Earn?
Credits from referrals can offset API spend — use responsibly with comms-approved copy, not spam. Prepaid credits still cost real money at $0.01 per request overage. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
Frontend apps and BYOK?
Never embed sk_sec_ keys in browser bundles — proxy through your backend. BYOK is for servers, IDE agents, and trusted automation, not public clients. Re-read the live secrypt.space privacy policy for chat, uploads, and Cipher API scope before relying on this for regulated or client-confidential work.
Related guides
Try Secrypt
Secrypt is private, uncensored AI chat. No training on your messages. Open a thread when you need discretion more than theater.