scim2-cli
An utility command line to help you perform requests against a SCIM server, while validating input and response payloads. It also uses scim2-tester to perform a SCIM server compliance test.
What's SCIM anyway?
SCIM stands for System for Cross-domain Identity Management, and it is a provisioning protocol. Provisioning is the action of managing a set of resources across different services, usually users and groups. SCIM is often used between Identity Providers and applications in completion of standards like OAuth2 and OpenID Connect. It allows users and groups creations, modifications and deletions to be synchronized between applications.
Features
- CRUD Commands:
create,query,replaceanddeleteresources from the command line - Search Command: Query resources using SCIM filters, sorting and pagination
- Compliance Testing: Built-in
testcommand using scim2-tester to validate server RFC compliance - Server Discovery: Automatic retrieval of server schemas and resource types
- Dynamic CLI Options: Command options generated from server schemas
- Flexible Input: Pass attributes as CLI options or pipe JSON payloads via stdin
- JSON Output: Formatted JSON responses with optional indentation control
- Authentication: Custom HTTP headers support for Bearer tokens and other auth methods
Installation
$ curl -LsSf uvx.sh/scim2-cli/install.sh | sh
Check the installation documentation for other methods.
Usage
Check the reference for more details.
Here is an example of resource creation:
$ scim2 --url https://auth.example --header "Authorization: Bearer 12345" create user --user-name "bjensen@example.com"
{
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
"id": "2819c223-7f76-453a-919d-413861904646",
"userName": "bjensen@example.com",
"meta": {
"resourceType": "User",
"created": "2010-01-23T04:56:22Z",
"lastModified": "2011-05-13T04:42:34Z",
"version": 'W\\/"3694e05e9dff590"',
"location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646",
},
}
Here is an example of resource query:
$ scim2 --url https://auth.example --header "Authorization: Bearer 12345" query user 2819c223-7f76-453a-919d-413861904646
{
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
"id": "2819c223-7f76-453a-919d-413861904646",
"userName": "bjensen@example.com",
"meta": {
"resourceType": "User",
"created": "2010-01-23T04:56:22Z",
"lastModified": "2011-05-13T04:42:34Z",
"version": 'W\\/"3694e05e9dff590"',
"location": "https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646",
}
}
scim2-cli belongs in a collection of SCIM tools developed by Yaal Coop, with scim2-models, scim2-client and scim2-tester
Release files for scim2-cli 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scim2_cli-0.3.0.tar.gz | 14.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scim2_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.8 kB
Release files / scim2_cli-0.3.0.tar.gz
| Download URL | scim2_cli-0.3.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3b744070ce2d9d58ae77d90a4c76d8fb0309e219fa12ed5362423559686210f
|
|
BLAKE2b-256 checksum How to use checksums |
53b21f2dd12ab982c5df09dd62f507a0b7ec15eaf652369ffa27a2534d7db15d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency logRelease files / scim2_cli-0.3.0-py3-none-any.whl
| Download URL | scim2_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f3a0de3f2f3c534b71c757007150759527a38aab419d0f6f9af696c4dc736e8
|
|
BLAKE2b-256 checksum How to use checksums |
337c634bde285e0b23fad08e155d854fa9c6b6239a088613d623285984d76d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency log