npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

idenplane-cli

v1.0.2

Published

CLI tool for managing an Idenplane IAM server

Downloads

237

Readme


Install

npm install -g idenplane-cli

Requires Node.js 18 or newer. Installs a single idenplane binary.


Authenticate

idenplane login --server https://auth.example.com

Prompts for username/password (or pass --username/--password), or authenticate with a static admin API key instead:

idenplane login --server https://auth.example.com --api-key <admin-api-key>

Credentials are saved to ~/.idenplane/config.json, encrypted at rest (AES-256-GCM). Inspect or verify the saved config:

idenplane config show       # server URL and masked credentials
idenplane config validate   # checks the server is reachable and credentials are valid
idenplane whoami            # current authenticated identity
idenplane logout            # clear saved credentials

Environment variables (CI / scripting)

As an alternative to idenplane login, set a server URL together with either an API key or a bearer token — no config file is written:

export IDENPLANE_SERVER_URL=https://auth.example.com
export ADMIN_API_KEY=<admin-api-key>
# — or —
export IDENPLANE_TOKEN=<bearer-token>

Every command accepts --json to print machine-readable output instead of a table.


Command reference

idenplane realm

| Command | Description | |---|---| | realm list | List all realms | | realm create <name> | Create a new realm | | realm get <name> | Get realm details | | realm update <name> | Update a realm | | realm delete <name> | Delete a realm | | realm export <name> | Export a realm to a JSON file | | realm import <file> | Import a realm from a JSON file |

idenplane client

| Command | Description | |---|---| | client list --realm <realm> | List clients in a realm | | client create <clientId> | Create a client | | client get <clientId> | Get client details | | client update <clientId> | Update a client | | client delete <clientId> | Delete a client | | client rotate-secret <clientId> | Rotate the client secret for a CONFIDENTIAL client |

idenplane user

| Command | Description | |---|---| | user list --realm <realm> | List users in a realm | | user create <username> | Create a user | | user get <id> | Get a user by ID | | user update <id> | Update a user | | user delete <id> | Delete a user | | user set-password <id> | Set a user's password | | user bulk-import | Import users from a CSV or JSON file |

idenplane role

| Command | Description | |---|---| | role list --realm <realm> | List realm roles | | role create <name> | Create a realm role | | role get <name> | Get role details | | role update <name> | Update a realm role | | role delete <name> | Delete a realm role | | role assign <userId> <roleName> | Assign a realm role to a user | | role unassign <userId> <roleName> | Remove a realm role from a user (role remove is an alias) |

idenplane group

| Command | Description | |---|---| | group list --realm <realm> | List groups in a realm | | group create <name> | Create a group | | group get <id> | Get group details | | group update <id> | Update a group | | group delete <id> | Delete a group |

Other commands

| Command | Description | |---|---| | init | Interactive setup: connect, create a realm, client, and roles | | migrate keycloak | Import from a Keycloak realm export JSON | | migrate auth0 | Import from an Auth0 Management API export | | migrate zitadel | Import from a hand-assembled Zitadel Management API export | | upgrade | Run pre-flight checks then apply database migrations | | upgrade:status | View upgrade audit history | | completion <shell> | Output a shell completion script (bash, zsh, fish) |

Run idenplane <command> --help for the full option list of any command.


Development

git clone https://github.com/idenplane/idenplane.git
cd idenplane/packages/idenplane-cli
npm install
npm run build
npm run typecheck
npm test

License

MIT. See LICENSE.