Skip to main content

A SCIM directory simulator and management tool

Project description

SCIM Directory Simulator CLI

A command-line tool for simulating and managing a SCIM (System for Cross-domain Identity Management) directory. This tool allows you to create and manage users and groups, simulating a real SCIM-compliant identity provider.

Installation

Requires uv.

uv tool install scim-sim

First-time setup: If scim-sim is not found after installing, run:

uv tool update-shell

Then restart your terminal. This is a one-time step that adds ~/.local/bin to your PATH so all uv-installed tools are available globally.

Alternatively, with pip (uv recommended):

pip install scim-sim

Configuration

Before using the tool, you need to set up your SCIM configuration:

scim-sim setup

This will prompt you for:

Configuration is stored in ~/.scim_config.json. You can view your current configuration with:

scim-sim config

Commands

All commands follow the pattern scim-sim <command> [args]. Run scim-sim --help or scim-sim <command> --help for details.

User Management

# Add a new user (generates random user data)
scim-sim add-user

# Remove a user
scim-sim remove-user <user-id>

Group Management

# Create a new group
scim-sim create-group "Engineering Team"

# Delete a group and permanently delete all its members
scim-sim delete-group <group-id>

# Add user to group
scim-sim add-to-group <user-id> <group-id>

# Remove user from group
scim-sim remove-from-group <user-id> <group-id>

Warning: delete-group permanently deletes all users that belong to the group, not just the group itself.

Directory Visualization

# Show complete directory structure
scim-sim show

This will display a tree view of your directory structure, showing all groups and users.

Example output:

📂 Directory
├── 👥 Groups
│   ├── Engineering Team │ ID: dirgroup_1234567890123456
│   │    ├── 👤 avinash.kamath@example.com │ ID: diruser_8913202356420102
│   │    └── 👤 srini.k@example.com        │ ID: diruser_4123456789012345
│   │
│   └── Product Team │ ID: dirgroup_6789012345678901
└── 👤 Ungrouped Users
    └── ravi@example.com │ ID: diruser_6789012345678901

Available Commands

  • setup - Configure SCIM settings
  • config - View current configuration
  • add-user - Create a new user
  • remove-user - Delete a user
  • show - Display directory structure
  • create-group - Create a new group
  • delete-group - Delete a group and its members
  • add-to-group - Add user to group
  • remove-from-group - Remove user from group

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scim_sim-0.1.0.tar.gz (50.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scim_sim-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file scim_sim-0.1.0.tar.gz.

File metadata

  • Download URL: scim_sim-0.1.0.tar.gz
  • Upload date:
  • Size: 50.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scim_sim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e8ae63bc2d8c483300d360b90a709e47b0eff9e8d364fe6d880c7f22caa096e
MD5 853134edeca7523366e22428949c39f5
BLAKE2b-256 b53e9408053b2e22d6c45e6796cff8cda66443d95ca6e619390beeef263efcf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for scim_sim-0.1.0.tar.gz:

Publisher: python-publish.yml on Avinash-Kamath/scim-simulator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scim_sim-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scim_sim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scim_sim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 315a0a63de626d7788fd7eaec02a25f6fe21491b72306ad2a5e5628420e6cbb7
MD5 70d22b44be79b6db73130da217c50a77
BLAKE2b-256 039bc687982b6fc900a3379673209a86f05279453543726bb310cbaae23bd2e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for scim_sim-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on Avinash-Kamath/scim-simulator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page