Skip to content

feat: ✨ add stash CLI tool for managing encrypted secrets#258

Merged
calvinbrewer merged 3 commits into
mainfrom
getstash
Jan 20, 2026
Merged

feat: ✨ add stash CLI tool for managing encrypted secrets#258
calvinbrewer merged 3 commits into
mainfrom
getstash

Conversation

@calvinbrewer

Copy link
Copy Markdown
Contributor
  • Add beautiful CLI tool using Stricli framework with color-coded output
  • Implement Stash class for high-level secrets management API
  • Support set, get, list, delete, and getMany operations
  • Use CS_* environment variables (CS_WORKSPACE_CRN, CS_CLIENT_ID, etc.)
  • Add shorthand aliases (-n, -e, -V) for command flags
  • Configure tsup to build CLI as executable binary
  • Export stash module from package.json

- Add beautiful CLI tool using Stricli framework with color-coded output
- Implement Stash class for high-level secrets management API
- Support set, get, list, delete, and getMany operations
- Use CS_* environment variables (CS_WORKSPACE_CRN, CS_CLIENT_ID, etc.)
- Add shorthand aliases (-n, -e, -V) for command flags
- Configure tsup to build CLI as executable binary
- Export stash module from package.json
@changeset-bot

changeset-bot Bot commented Jan 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0d816b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@cipherstash/protect Minor
@cipherstash/drizzle Major
@cipherstash/protect-dynamodb Major
@cipherstash/basic-example Patch
@cipherstash/dynamo-example Patch
nest Patch
next-drizzle-mysql Patch
@cipherstash/nextjs-clerk-example Patch
@cipherstash/typeorm-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread packages/protect/src/bin/stash.ts
@calvinbrewer calvinbrewer requested a review from coderdan January 19, 2026 23:03

@auxesis auxesis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really good work, thanks @calvinbrewer.

The inline docs in the CLI look comprehensive, but we should also document usage in the main Protect.js README.

I'm fine for that to be done in either this PR, or in a follow up.

@calvinbrewer calvinbrewer merged commit 9abc9ef into main Jan 20, 2026
1 check passed
@calvinbrewer calvinbrewer deleted the getstash branch January 20, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants