SCIM application development CLI
Project description
scim2-cli
An utility command line to help you perform requests against a SCIM server, while validating input and response payloads.
Installation
pip install scim2-cli
Usage
Check the reference for more details.
Here is an example of resource creation:
$ scim2 https://auth.example 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:
$ scim2 https://auth.example 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",
}
}
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
scim2_cli-0.1.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for scim2_cli-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3b1fe6ae242ecdbb32c83907630f6c62290d006a727f837e08216f0810e52fe |
|
MD5 | 18b90b44762f07096ed28efd5591f643 |
|
BLAKE2b-256 | 7ef4e6e6e1eae9ea8e7ab423c248c167b79a41763d25b0c808b1bcd459e95e11 |