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

brew tap Avinash-Kamath/scim-simulator
brew install scim-sim

Configuration

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

scim-sim config

This will prompt you for:

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

scim-sim config

Commands

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 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>

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: dirgrp_1234567890123456
│   │    ├── 👤 avinash.kamath@example.com │ ID: dirusr_8913202356420102
│   │    └── 👤 srini.k@example.com │ ID: dirusr_4123456789012345
│   │
│   └── Product Team │ ID: dirgrp_6789012345678901
└── 👤 Ungrouped Users
    └── ravi@example.com │ ID: dirusr_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.0.1.tar.gz (7.8 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.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scim_sim-0.0.1.tar.gz
Algorithm Hash digest
SHA256 066399b0adf774f2ee9f8ddbdb05f46eb47876391bd9c38e2a155c9d5f201504
MD5 1d83db3f3549fbb26d298246f0647a2e
BLAKE2b-256 1f2d1f00fbc4723df7fe9115d1c6d1d61f9bd3cd7e7def8380c60122d4824646

See more details on using hashes here.

Provenance

The following attestation bundles were made for scim_sim-0.0.1.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.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for scim_sim-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a7c3b1f34f788489ddbb379bf5874436d4637289d847f26173e62a64c7a410
MD5 1dc78982a21f065adb2c36ce802cff18
BLAKE2b-256 f80c01ac7a78fab86255f7ded186a22ed24f2d5ab37c538123384a1cf6976d6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scim_sim-0.0.1-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