Stashbase

Who gets access

Every way a person, app, or agent can access Stashbase, and when to use each

Stashbase has a few kinds of identity. Each is scoped differently, so pick the one that matches who or what needs access.

IdentityUse it forScoped toManage it in
MemberPeople on your team using the dashboardWorkspace role, plus project and environment rolesWorkspace settings
TeamGranting the same access to several membersProject and environment roles shared by all its membersWorkspace settings
Personal API keyThe CLI, scripts, and your own toolingYour own access, optionally limited to read-only or secretsAPI Keys → Personal
Service accountCI, servers, and automation across projectsThe projects, environments, and permissions you grant itWorkspace settings → service accounts
Environment accountAn app loading one environment at runtimeA single environmentThe environment's Accounts tab
Agent profileCoding agents such as Claude Code and CodexPer-secret hosts, network, files, and MCP toolsA TOML file in your repo or global config

Coding agents should never get an API key. Run them with stashbase agent run and an agent profile, so they get placeholders instead of secret values.

Choosing an identity

  • A person gets a member account. Use teams once more than a few people need the same access.
  • Your own scripts or the CLI use a personal API key. It can never do more than you can.
  • A production app that only needs its secrets uses an environment account. It can't see any other environment.
  • CI or automation that works across projects, or manages resources, uses a service account.
  • A coding agent uses an agent profile. It never holds the secret itself.

Roles

People and teams get access at three levels. A project role covers all of the project's environments, and workspace admins and owners can access every project.

LevelRolesGrants
WorkspaceMember, Admin, OwnerAdmins and owners can access every project and manage members
ProjectViewer, Editor, AdminAccess to the project and all of its environments
EnvironmentViewer, Editor, AdminAccess to one environment

Personal API keys and environment accounts can never have more access than the person who created them.

On this page