# stagehand-python@4.2.0a0.dev1533: feat(cli): add project and function secrets commands ( 3021)

Category: open-source
Published: 2026-09-23T18:44:47Z
Source: [Browserbase Stagehand releases](https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.2.0a0.dev1533)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-25T06:17:37.176Z
Tags: browserbase, browser-agent, automation

## Human Summary
Stagehand Python release 4.2.0a0.dev1533 adds CLI commands for managing project secrets and associating secrets with functions, featuring client-side encryption support.

## Agent Summary
Stagehand Python version 4.2.0a0.dev1533 introduces CLI secret management commands under browse cloud secrets (list, get, create, update, delete with client-side encryption) and browse functions secrets (attach, detach, list).

## Body
Browserbase Stagehand released stagehand-python@4.2.0a0.dev1533, cherry-picking seven PRs onto main to introduce CLI management for secrets. Changes include adding browse cloud secrets commands to list, get, create, update, and delete secrets (incorporating client-side encryption and password input) and browse functions secrets commands to attach, detach, and list secrets bound to Functions. API helpers, command contract tests, and dependencies were also added, while retaining Browse 0.10.0 and excluding context-name and eval changes from the original parent branch.

## Recommended actions
- Upgrade to stagehand-python@4.2.0a0.dev1533 if CLI secret management and function secret attachment capabilities are required.
- Verify local environment secrets workflows using the new browse cloud secrets and browse functions secrets CLI command sets.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.