Skip to main content

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, replace, modify and delete resources from the command line
  • Search Command: Query resources using SCIM filters, sorting and pagination
  • Bulk Command: Send bulk requests passed as JSON through stdin
  • Compliance Testing: Built-in test command 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

Metadata

Release files for scim2-cli 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scim2-cli 0.6.0
File Size Uploaded
scim2_cli-0.6.0.tar.gz 18.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scim2-cli 0.6.0
File Interpreter ABI Platform
scim2_cli-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.5 kB

Release files / scim2_cli-0.6.0.tar.gz

Download URL scim2_cli-0.6.0.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8cc8551b465bf0d71f90ed599ed04c911ed2f799324785e93199fb3ce8c6c5
BLAKE2b-256 checksum
How to use checksums
70a2d99a5d24d191e05aab8bf3f79ecddbd45fd2e2046ec466ac2b276260bb31
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 Oct 9, 2026.

Transparency log

Release files / scim2_cli-0.6.0-py3-none-any.whl

Download URL scim2_cli-0.6.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44a66d13091f8f9ce46d9414baa998b33bfa8ee5424ffb65a6e4df756dded80f
BLAKE2b-256 checksum
How to use checksums
c7356199c6e9a12be501f8bf181e6637fd921bc30e080846950e2c7b7a60d7d3
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 Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page