@clef-sh/cloud
v0.1.36
Published
Clef Cloud integration — managed KMS, device-flow auth, artifact hosting
Readme
@clef-sh/cloud
Clef Cloud integration for Clef — managed KMS, device-flow authentication, and artifact hosting. Ships as an optional plugin for the CLI and UI.
No secret data passes through Clef Cloud. The service manages encryption keys and serves packed artifacts — your plaintext never leaves your machine.
Install
npm install @clef-sh/cloudFeatures
- Managed KMS: Cloud-hosted age key management with
clef cloud init --env <environment> - Device-flow auth: Browser-based login via
clef cloud login, tokens stored locally - Remote packing:
clef pack --remotesends encrypted files to Cloud for packing and serving - Artifact hosting:
clef pack --pushuploads locally packed artifacts to Cloud for serving - Key service: Lazy-loaded Go binary that speaks the SOPS gRPC protocol, proxying KMS operations through the Cloud API
Usage
clef cloud login
clef cloud init --env productionOnce configured, standard CLI commands (clef set, clef get, clef pack) use Cloud KMS automatically for environments configured with the cloud backend.
Subpath exports
@clef-sh/cloud— core client: auth, credentials, pack client, artifact client@clef-sh/cloud/cli— CLI command registration (used by@clef-sh/cli)@clef-sh/cloud/ui— UI components for Cloud status and billing
Documentation
License
MIT
