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:
- SCIM Base URL - The endpoint of your SCIM service (e.g., https://api.example.com/scim/v2)
- SCIM Auth Token - Your authentication token
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 settingsconfig- View current configurationadd-user- Create a new userremove-user- Delete a usershow- Display directory structurecreate-group- Create a new groupdelete-group- Delete a group and its membersadd-to-group- Add user to groupremove-from-group- Remove user from group
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
066399b0adf774f2ee9f8ddbdb05f46eb47876391bd9c38e2a155c9d5f201504
|
|
| MD5 |
1d83db3f3549fbb26d298246f0647a2e
|
|
| BLAKE2b-256 |
1f2d1f00fbc4723df7fe9115d1c6d1d61f9bd3cd7e7def8380c60122d4824646
|
Provenance
The following attestation bundles were made for scim_sim-0.0.1.tar.gz:
Publisher:
python-publish.yml on Avinash-Kamath/scim-simulator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scim_sim-0.0.1.tar.gz -
Subject digest:
066399b0adf774f2ee9f8ddbdb05f46eb47876391bd9c38e2a155c9d5f201504 - Sigstore transparency entry: 175437917
- Sigstore integration time:
-
Permalink:
Avinash-Kamath/scim-simulator@7e0e45e88a3d596cf95c697c56f8e6d1bb3ec9cf -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/Avinash-Kamath
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7e0e45e88a3d596cf95c697c56f8e6d1bb3ec9cf -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6a7c3b1f34f788489ddbb379bf5874436d4637289d847f26173e62a64c7a410
|
|
| MD5 |
1dc78982a21f065adb2c36ce802cff18
|
|
| BLAKE2b-256 |
f80c01ac7a78fab86255f7ded186a22ed24f2d5ab37c538123384a1cf6976d6b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scim_sim-0.0.1-py3-none-any.whl -
Subject digest:
b6a7c3b1f34f788489ddbb379bf5874436d4637289d847f26173e62a64c7a410 - Sigstore transparency entry: 175437920
- Sigstore integration time:
-
Permalink:
Avinash-Kamath/scim-simulator@7e0e45e88a3d596cf95c697c56f8e6d1bb3ec9cf -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/Avinash-Kamath
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7e0e45e88a3d596cf95c697c56f8e6d1bb3ec9cf -
Trigger Event:
release
-
Statement type: