01.software Docs

Authentication & Keys

Use publishable keys, secret keys, CORS, and user access with the right trust boundary.

Authentication & Keys

Use this page before connecting a project, server, vendor, or AI agent to a workspace.

Key Types

CredentialUse forKeep out of
Publishable Keybrowser-safe SDK reads; paired Agent CLI contextprivileged writes
Secret Keyserver-side SDK writes; Agent CLI in trusted shellsbrowser code, command arguments, logs, screenshots, commits
user accesshuman-scoped Console, OAuth, and Human CLI actionsshared agent automation
MCP OAuth accesshosted, shell-less discovery through three read-only toolscollection CRUD or commerce workflows

The greenfield app creator keeps user and application identities separate. Its browser authorization may issue one development-purpose sk01_ only after the secret-free scaffold is installed; a Human CLI pat01_ is never valid app environment input. Production service credentials remain an explicit Console operation, not a scaffolder option.

CORS And Origins

  • Add only the browser origins that should read workspace data.
  • Treat staging, preview, and production origins as separate approvals.
  • Remove old origins after domain changes or vendor offboarding.

Server Boundary

  • Put privileged work behind a trusted server route, server action, worker, or backend service.
  • Load Secret Key values from environment storage, not from checked-in code.
  • For Agent CLI automation, prefer SOFTWARE_PUBLISHABLE_KEY and SOFTWARE_SECRET_KEY; do not pass secrets as command arguments.
  • Rotate Secret Key ownership when the operator changes.

If a credential is unclear, stop and return to Integrations & Keys before implementation continues.

Next Actions

  • Browser reads: continue to SDK.
  • Shell-capable agent: continue to CLI.
  • Direct HTTP escape hatch: continue to API.
  • Hosted, shell-less discovery: continue to MCP.

On this page