Stashbase
Preview access

Secrets for developers

Secure shareable environments, one command away

Dashboard

Single source of truth

Manage from anywhere anytime

Dashboard
Web based dashboard for managing everything in your workspaces.
Dashboard
Web based dashboard for managing everything in your workspaces.
CLI
Run your apps from local machines in any environment.
CLI
Run your apps from local machines in any environment.
SDKs
Inject secrets in your apps at runtime with just a single line of code.
SDKs
Inject secrets in your apps at runtime with just a single line of code.

Local development made a breeze

With CLI you can run all your apps in any environment

Command-line interface
Access all your workspaces from your favorite termnial.
Command-line interface
Access all your workspaces from your favorite termnial.
Blazingly fast
Powered by Rust which is known for its performance.
Blazingly fast
Powered by Rust which is known for its performance.
Flexibility first
You can easily pipe out the data in multiple formats.
Flexibility first
You can easily pipe out the data in multiple formats.
stashbase.yaml
- project: our-project
  environment: api_prod
  description: Produciton API server running on AWS
  pull:
    output: .prod.env
    format: dotenv

- project: our-project
  environment: api_local
  description: Used only for database migrations
  secrets:
    only:
      - DATABASE_URL

- project: our-project
  environment: api_testing
  description: Run against database in test environment
  secrets:
    only:
      - DATABASE_URL
    set:
      - NODE_ENV: testing
Custom config files
Configurable environments. Easily configure environments for various purposes in your local development.
Select secrets you need. Pull only selected secrets, excluding the ones you don't need.
Share with your team. Create unified environments for local development across your team.
Run with single command. Run your apps in custom environments with a single command.
Pull environments. Save custom environment configurations into local files.

Everything at your fingertips

Just one command to get you going

$
stashbase run -p project -e environment --print -- bun run dev
Environment loaded (3 secrets)
╭──────────────┬────────────────────────────────────────────────╮
│ Key          │ Value                                          │
├──────────────┼────────────────────────────────────────────────┤
│ DATABASE_URL │ postgres://user:password@localhost:5432/public │
│ USER_ID      │ 2ed77437-2580-4949-a8e0-73af614c4746           │
│ JWT_SECRET   │ POJS4A9BM3RQS6GDPITG7X7U9                      │
╰──────────────┴────────────────────────────────────────────────╯       

# Running "bun run dev" command...

Access from your code

Use SDK to load secrets and more

Easy to use
Works with existing code
Small bundle size
Environment API
Limit the access to only one selected environment.
Environment API
Limit the access to only one selected environment.
Workspace API
Manage your projects, environments and secrets.
Workspace API
Manage your projects, environments and secrets.
Fine-tuned permissions
Give only the permissions you needed for selected resources.
Fine-tuned permissions
Give only the permissions you needed for selected resources.
// Initialize SDK client
const stashbase = createEnvClient("sbe...fDn4q")

// Example: Load end inject environment variables
await stashbase.load()

// Example: Load only if NODE_ENV is production
await stashbase.load({
  enabled: process.env.NODE_ENV === "production",
})

Track usage in real-time

See how are your API Keys used

API key logs

Secure by default

No need to worry about security

Robust encryption
All secrets are encrypted with AES-256 using KDF and stored in a secure database.
Robust encryption
All secrets are encrypted with AES-256 using KDF and stored in a secure database.
Encryption isolation
Workspaces are equipped with a unique keys dedicated to encryption of secrets.
Encryption isolation
Workspaces are equipped with a unique keys dedicated to encryption of secrets.
Role-based access control
Give permissions to individual users and custom teams.
Role-based access control
Give permissions to individual users and custom teams.

World-class developer experience

Dev tool you will enjoy using everyday

One tool to rule them all

Mange your secrets everywhere

Built-in command palette

Quicky jump anywhere

Work together

Sync across your team

World-class developer experience

Dev tool you will enjoy using everyday

One tool to rule them all

Mange your secrets everywhere

Built-in command palette

Quicky jump anywhere

Work together

Sync across your team

And more...

Secrets changelog
Easily track changes and revert them from a single place.
Secrets changelog
Easily track changes and revert them from a single place.
Compare environments
See the differences in secrets between multiple environments.
Compare environments
See the differences in secrets between multiple environments.
Lock environments
Prevent environments from being deleted or modified by accident.
Lock environments
Prevent environments from being deleted or modified by accident.
Trusted IPs
Allow only trusted IPs to access your environments and secrets.
Trusted IPs
Allow only trusted IPs to access your environments and secrets.
Webhooks
Webhooks can be used to trigger actions on specific events.
Webhooks
Webhooks can be used to trigger actions on specific events.
Vim mode (really)
Edit secrets with your favorite keybindings. For advanced devs only.
Vim mode (really)
Edit secrets with your favorite keybindings. For advanced devs only.

Works with your infrastructure

Integrates with tools you already use

Integration logo
Integration logo
Integration logo
Integration logo
And others...

Do the first step today

Be the first to use Stashbase and supercharge your workflow