Web Interface Guide
The Stash web interface provides an intuitive way to manage all your secrets and projects. It's designed to be user-friendly while maintaining enterprise-grade security. You can organize secrets, manage team members, and monitor activity all from one dashboard.
Understanding the Structure
Stash uses a hierarchical structure to organize your secrets:
Projects → Environments → Secrets
This structure keeps your secrets organized and makes it easy to manage different configurations for each deployment stage.
Projects
Projects are the top-level containers for organizing your secrets. Think of each project as a separate application or service. Each project can have multiple environments and multiple secrets per environment.
Creating a Project:
- Click the "New Project" button
- Enter a project name (e.g., "my-api", "mobile-app")
- Choose whether it is a personal project or belongs to one of your organizations
- Click "Create" to finish. The
dev,stagingandprodenvironments are created automatically
Managing Projects:
- View all your personal and organization projects on the Projects page
- Rename a project at any time
- Transfer a personal project into an organization (only the organization owner can move a project back out)
- Delete a project: this permanently deletes its environments and secrets and cannot be undone
- Each project page has tabs for Secrets, Service tokens, Integrations and Audit log
Environments
Each project supports multiple environments to separate configuration by deployment stage. This prevents accidentally using development credentials in production.
- Development (dev): For local development and testing.
- Staging (staging): Pre-production testing. Similar to production but safe to experiment.
- Production (prod): Live environment. In organizations, restrict it to the members who need it.
You can add more environments (e.g. qa), rename or delete them, and clone an environment to create a new one with a copy of all its secrets. How many environments a project can have depends on your plan.
Best Practice: Always have different credentials for each environment. Never reuse production keys in development.
Secrets Management
Secrets are individual key-value pairs that contain your sensitive information. Each secret is encrypted individually and can be managed independently.
Each secret consists of:
- Key: The secret name/identifier (e.g.,
DATABASE_PASSWORD,API_KEY) - Value: The actual secret content (encrypted and shown as masked dots in the UI)
- Environment: Which environment this secret belongs to (dev, staging, or prod)
- Created At: Timestamp of when the secret was created
- Updated At: Timestamp of the last modification
- Updated By: Which team member last modified this secret
Creating a Secret:
- Select a project and environment
- Click "Add Secret"
- Enter the secret key (variable name)
- Enter the secret value (keep secure!)
- Click "Add Secret" to encrypt and store
Viewing Secrets:
- Secret values are hidden by default as dots (••••••••) for security.
- Click the eye icon next to a secret to reveal its value. It hides itself again after 30 seconds, and every reveal is recorded in the audit log.
- The copy button copies the value without showing it; the clipboard is cleared after 30 seconds.
- Only users with the View Secret Values permission can see values.
Importing a .env file:
- Click "Import" and paste or upload a
.envfile. - The preview shows which keys are new and which already exist; tick "Overwrite existing" to update the existing ones.
- Lines with
export, quotes, comments and multi-line values are supported. Invalid keys and duplicates are flagged before importing.
Version history:
- Every change creates a new version (the last 20 are kept). Click History on a secret to see who changed it and when.
- Rollback restores an earlier value as a new version, so nothing is lost.
Service Tokens
Service tokens give a machine (CI/CD, a server, a container) access to the secrets of one environment of a project, without a user login. Create them in the project's Service tokens tab with read or read & write access and an optional expiry. The token is shown only once; revoke it at any time. See CI/CD & Service Tokens for how to use them.
Team Collaboration
Teams work through organizations (1 organization with up to 3 members on Starter; up to 3 organizations with 20 members each on Pro). Projects created in an organization are shared with its members according to their role.
- Invite members: Invite a registered user by username and choose their role. They see the invitation on their Organizations page and must accept it before joining. Invitations expire after 7 days.
- Roles: Every organization starts with Owner, Admin, Developer and Viewer. You can also create custom roles with exactly the permissions you need (view or manage projects, environments and secrets; manage members; manage roles).
- Scope access: Limit a member to specific projects and environments, for example dev and staging but not prod.
- Safe delegation: Members can only grant roles with permissions they have themselves, so an Admin cannot make someone an Owner.
- Audit trail: The organization and each project have an audit log of who viewed, created, changed or deleted secrets, plus membership changes.
Security: Secrets are encrypted with AES-256-GCM before they are stored, and all traffic uses HTTPS. Secret values are never written to logs or notifications. Only authorized users can view actual values.