@steamsets/cubby
v0.1.3
Published
cubby — secrets management CLI
Readme
@steamsets/cubby
The cubby CLI — secrets management for steamsets.
This package is a thin wrapper: on npm install it downloads the prebuilt
binary that matches your platform from the matching GitHub Release and
drops it on your $PATH.
Install
npm install -g @steamsets/cubby
# or
pnpm add -g @steamsets/cubby
# or
bun add -g @steamsets/cubbySupported: macOS (arm64, x64), Linux (arm64, x64), Windows (x64). Other targets need to build from source — see the repo.
Set CUBBY_SKIP_INSTALL=1 to skip the binary download (useful in Docker
multi-stage builds where you copy the binary in separately).
Quick start
cubby login # one-time setup
cubby use backend/production # set default scope
cubby ls # list keys
cubby get DB_URL # print one value
cubby set FEATURE_FLAG=on # upsert
cubby run -- ./bin/migrate up # exec with env injectedEvery command honours --project / --env to override the default
scope for one-shot calls.
CI / non-interactive use
Set CUBBY_TOKEN and CUBBY_API_URL in the environment to skip the
interactive login flow:
env CUBBY_TOKEN=… CUBBY_API_URL=https://cubby.example.com \
cubby run -- ./bin/migrate upCommands
login, logout, init, use, where, config, ls, get, set,
rm, restore, trash, run, pull. Run cubby <cmd> --help for
flags.
Links
- Repository: https://github.com/steamsets/cubby
- Issues: https://github.com/steamsets/cubby/issues
License
MIT
