@lockzero/activepieces-lockzero
v1.0.0
Published
Activepieces piece for LockZero — get, set, and rotate secrets in your Activepieces flows
Maintainers
Readme
@lockzero/activepieces-lockzero
Official Activepieces piece for LockZero — get, set, and rotate secrets inside your Activepieces flows without hardcoding credentials.
Actions
| Name | Key | Description |
|------------------|------------------|-----------------------------------------------------|
| Get Secret | get_secret | Retrieve a secret by name and get its decrypted value |
| Set Secret | set_secret | Create or update a secret in LockZero |
| Rotate Secrets | rotate_secrets | Rotate all secrets in a namespace |
| List Secrets | list_secrets | List all secrets, optionally filtered by namespace |
Structure
activepieces-lockzero/
src/
index.ts createPiece export
lib/
common.ts HTTP client, auth definition, shared types
actions/
get-secret.ts
set-secret.ts
rotate-secrets.ts
list-secrets.ts
tsconfig.json
package.jsonAuthentication
This piece uses API key authentication via PieceAuth.SecretText. When adding LockZero to an Activepieces flow, you will be prompted for your API key:
- Log into your LockZero workspace
- Navigate to Settings → API Keys
- Create an API key (starts with
lz_live_) - Paste it into the Activepieces connection dialog
The connection is validated immediately by calling GET /api/workspaces/me.
Development
Install dependencies
npm installType check
npm run typecheckBuild
npm run buildRegister with Activepieces
To use this piece in a self-hosted Activepieces instance, add the package to your instance configuration. See Activepieces documentation on custom pieces for details.
License
MIT © LockZero
