Customer-protected Secrets

Product · Developer tool by Hyperbrowser

Wrap secrets with your own key so Hyperbrowser can't decrypt them.

A security tool for developers to store sensitive credentials that Hyperbrowser cannot decrypt. It uses client-side wrapping with customer-held keys to ensure private data is only unwrapped locally before use in sandboxes.

Category: Developer Tools

Platforms
API, CLI
Programming languages
Node.js, Python
Editors and tools
Terminal (CLI)
Integrations
1Password, Docker, AWS, Google Cloud, Anthropic, OpenAI
Deployment
Cloud (United States)
Minimum RSA Key Size
2048 bits
  • Wrap secrets with RSA, EC, X25519, or X448 keys
  • Hyperbrowser never receives or stores your private key
  • Local unwrapping via Node.js or Python SDKs
  • Integrates with sandboxes and 1Password tokens

Overview

Hyperbrowser Customer-protected Secrets is a security feature for developers that ensures sensitive credentials remain encrypted even from the platform itself. By wrapping secrets with a customer-held key, Hyperbrowser only stores the wrapped value and cannot decrypt it independently. The SDK performs the unwrapping process on the user's local machine using their private key before passing the necessary data to the platform for a specific execution version. This tool is designed for businesses and developers who need to manage API keys, database passwords, or 1Password tokens within isolated sandboxes and browser sessions. It supports various encryption standards including RSA, EC, and X25519, and integrates directly with Hyperbrowser's Node.js and Python SDKs.

Security and Key Management

  • Client-side Encryption: Developers wrap sensitive credentials with their own RSA, EC, X25519, or X448 keys so the platform never receives the private key.
  • Local Unwrapping: The SDK unwraps the secret on the user's local machine before passing the result with a specific request to the platform.
  • Vault Integration: Secrets can be added to vaults that mix customer-protected entries with ordinary ones for simplified environment management.
  • Key Rotation and Rewrapping: Users can rotate values by rewrapping secret versions from an old key to a new one on their own machine.

Developer Workflow and Integration

  • Sandbox Execution: Secrets can be used in sandbox execution commands, background processes, and image startup commands.
  • 1Password Integration: Customer-protected secrets can serve as 1Password tokens for sandbox processes and browser form fills.
  • CLI Management: The CLI allows users to list and inspect secrets, though it cannot unwrap them or add new versions.
  • Granular Access Control: Restricted API keys can be configured with specific scopes like secrets.use or secrets.manage to control access.

Use cases

  • Developers store database passwords that are only decrypted on their local machine before being passed to a migration script.
  • Security teams rotate encryption keys by rewrapping secret versions locally without exposing raw values to the cloud.
  • AI agents use customer-protected secrets as 1Password tokens to securely fill forms in managed browser sessions.
  • DevOps engineers mount vaults containing both public and customer-protected secrets into isolated sandbox environments.

Specifications

Platforms
API, CLI
Programming languages
Node.js, Python
Editors and tools
Terminal (CLI)
Integrations
1Password, Docker, AWS, Google Cloud, Anthropic, OpenAI
Deployment
Cloud (United States)
Minimum RSA Key Size
2048 bits
Supported EC Curves
P-256, P-384, P-521
Supported Algorithms
X25519, X448
Node SDK Version
1.5.0 or later
Python SDK Version
1.15.0 or later
Storage Location
United States (Managed Cloud)

How it works

  1. Create a Key: Generate an RSA, EC, X25519, or X448 key locally using tools like OpenSSL and keep the private key secure.
  2. Create and Wrap Secret: Use the SDK to create a secret, passing your public key so the value is wrapped before being uploaded to Hyperbrowser.
  3. Unwrap Locally: Call the unwrap method in your application code to decrypt the secret locally before passing it to a sandbox or process.
  4. Deploy to Sandbox: Pass the unwrapped reference to a sandbox exec command or use it as a 1Password token for automated tasks.

FAQ

How does Hyperbrowser protect these secrets?

Hyperbrowser stores only the wrapped value, meaning it cannot decrypt the secret without the customer's private key, which is never shared with the platform.

What types of encryption keys are supported?

The feature supports RSA keys (2048 bits or more), EC keys (P-256, P-384, or P-521), and X25519 or X448 keys.

Can these secrets be used for browser form fills?

No, customer-protected secrets cannot be typed directly into browser pages; they are intended for use in sandboxes and as 1Password tokens.

What are the SDK requirements?

You must use Node SDK 1.5.0 or later, or Python SDK 1.15.0 or later to use customer-protected secrets.

Added by AntSpace from public sources (hyperbrowser.ai).

Related

More products by Hyperbrowser