Automated keyset creation and client access management for CipherStash.
bun installYou can get your credentials from the CipherStash Dashboard.
Important
Create an access key with the Control permission.
export CS_CLIENT_ACCESS_KEY="your-access-key"
export CS_WORKSPACE_CRN="crn:region.aws:workspace-id"# Create keysets and grant access
bun run index.ts --client-id <client-id>
# Dry run (test without changes)
bun run index.ts --client-id <client-id> --dry-runEdit keysets.json:
[
{
"name": "my-keyset",
"description": "Optional description"
}
]- ✓ Success (green)
- ✗ Error (red)
- ℹ Info (blue)
- ⚠ Warning (yellow)
- [1/3] Progress indicator
- Auth failed: Check
CS_CLIENT_ACCESS_KEY - Invalid CRN: Format should be
crn:<region>.aws:<workspace-id> - Missing client-id: Use
--client-id <id>argument - Test first: Always run with
--dry-runfirst