scim2-cli


Namescim2-cli JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummarySCIM application development CLI
upload_time2024-06-05 16:49:43
maintainerNone
docs_urlNone
authorYaal Coop
requires_python<4.0,>=3.10
licenseMIT
keywords scim scim2 provisioning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://scim2-tester.readthedocs.io) to perform a [SCIM server compliance test](https://scim2-cli.readthedocs.io/en/latest/reference.html#scim-url-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.

## Installation

```shell
pip install scim2-cli
```

## Usage

Check the [reference](https://scim2-cli.readthedocs.io/en/latest/reference.html) for more details.

Here is an example of resource creation:

```shell
$ scim2 https://auth.example --headers "Authorization: Bearer 12345" create user << EOL
{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "userName": "bjensen@example.com"
}
EOL
{
    "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:

```shell
$ scim2 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](https://yaal.coop),
with [scim2-models](https://github.com/yaal-coop/scim2-models),
[scim2-client](https://github.com/yaal-coop/scim2-client) and
[scim2-tester](https://github.com/yaal-coop/scim2-tester)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "scim2-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "scim, scim2, provisioning",
    "author": "Yaal Coop",
    "author_email": "contact@yaal.coop",
    "download_url": "https://files.pythonhosted.org/packages/74/8b/bd37b2dbd58611b7bf43ab8855d045618ca5c3899e663238d3154082fb02/scim2_cli-0.1.2.tar.gz",
    "platform": null,
    "description": "# scim2-cli\n\nAn utility command line to help you perform requests against a SCIM server, while validating input and response payloads. It also uses [scim2-tester](https://scim2-tester.readthedocs.io) to perform a [SCIM server compliance test](https://scim2-cli.readthedocs.io/en/latest/reference.html#scim-url-test).\n\n## What's SCIM anyway?\n\nSCIM stands for System for Cross-domain Identity Management, and it is a provisioning protocol.\nProvisioning is the action of managing a set of resources across different services, usually users and groups.\nSCIM is often used between Identity Providers and applications in completion of standards like OAuth2 and OpenID Connect.\nIt allows users and groups creations, modifications and deletions to be synchronized between applications.\n\n## Installation\n\n```shell\npip install scim2-cli\n```\n\n## Usage\n\nCheck the [reference](https://scim2-cli.readthedocs.io/en/latest/reference.html) for more details.\n\nHere is an example of resource creation:\n\n```shell\n$ scim2 https://auth.example --headers \"Authorization: Bearer 12345\" create user << EOL\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"userName\": \"bjensen@example.com\"\n}\nEOL\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"2819c223-7f76-453a-919d-413861904646\",\n    \"userName\": \"bjensen@example.com\",\n    \"meta\": {\n        \"resourceType\": \"User\",\n        \"created\": \"2010-01-23T04:56:22Z\",\n        \"lastModified\": \"2011-05-13T04:42:34Z\",\n        \"version\": 'W\\\\/\"3694e05e9dff590\"',\n        \"location\": \"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646\",\n    },\n}\n```\n\nHere is an example of resource query:\n\n```shell\n$ scim2 https://auth.example --header \"Authorization: Bearer 12345\" query user 2819c223-7f76-453a-919d-413861904646\n{\n    \"schemas\": [\"urn:ietf:params:scim:schemas:core:2.0:User\"],\n    \"id\": \"2819c223-7f76-453a-919d-413861904646\",\n    \"userName\": \"bjensen@example.com\",\n    \"meta\": {\n        \"resourceType\": \"User\",\n        \"created\": \"2010-01-23T04:56:22Z\",\n        \"lastModified\": \"2011-05-13T04:42:34Z\",\n        \"version\": 'W\\\\/\"3694e05e9dff590\"',\n        \"location\": \"https://example.com/v2/Users/2819c223-7f76-453a-919d-413861904646\",\n   }\n}\n```\n\nscim2-cli belongs in a collection of SCIM tools developed by [Yaal Coop](https://yaal.coop),\nwith [scim2-models](https://github.com/yaal-coop/scim2-models),\n[scim2-client](https://github.com/yaal-coop/scim2-client) and\n[scim2-tester](https://github.com/yaal-coop/scim2-tester)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "SCIM application development CLI",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [
        "scim",
        " scim2",
        " provisioning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e62c372a463f86cd5074568c97ad58bde31991d965a7617c24e65e4972e6566d",
                "md5": "c9ecba9daab71eacb365fd106de1d580",
                "sha256": "f3cc27f733ad8b83e96303b3bc27588176d48f37563d61fb85cfca90f30d9c84"
            },
            "downloads": -1,
            "filename": "scim2_cli-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9ecba9daab71eacb365fd106de1d580",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 10218,
            "upload_time": "2024-06-05T16:49:41",
            "upload_time_iso_8601": "2024-06-05T16:49:41.660807Z",
            "url": "https://files.pythonhosted.org/packages/e6/2c/372a463f86cd5074568c97ad58bde31991d965a7617c24e65e4972e6566d/scim2_cli-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "748bbd37b2dbd58611b7bf43ab8855d045618ca5c3899e663238d3154082fb02",
                "md5": "97b1649846b236524e9fd906d9268d8b",
                "sha256": "deb2d31d68b57a813ec6466ddb5f7fa449b3caef7d6ecc75c9df3db42bfba694"
            },
            "downloads": -1,
            "filename": "scim2_cli-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "97b1649846b236524e9fd906d9268d8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 6587,
            "upload_time": "2024-06-05T16:49:43",
            "upload_time_iso_8601": "2024-06-05T16:49:43.495210Z",
            "url": "https://files.pythonhosted.org/packages/74/8b/bd37b2dbd58611b7bf43ab8855d045618ca5c3899e663238d3154082fb02/scim2_cli-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-05 16:49:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "scim2-cli"
}
        
Elapsed time: 0.31698s