|
| 1 | +# umapi-client.py |
| 2 | + |
| 3 | +This is a Python client for the User Management API from Adobe, aka the |
| 4 | +[UMAPI](https://www.adobe.io/products/usermanagement/docs/gettingstarted.html). |
| 5 | + |
| 6 | +The User Management API is an Adobe-hosted network service |
| 7 | +which provides Adobe Enterprise customers the ability to manage their users. This |
| 8 | +client makes it easy to access the UMAPI from a local Python application. |
| 9 | + |
| 10 | +This client is open source, maintained by Adobe, and distributed under the terms |
| 11 | +of the OSI-approved MIT license. Copyright (c) 2016 Adobe Systems Incorporated. |
| 12 | + |
| 13 | +# Installation |
| 14 | + |
| 15 | +You can get this package from PyPI: `pip install umapi-client`. |
| 16 | +Or you can download the posted package from GitHub and use pip |
| 17 | +to install from the download. |
| 18 | + |
| 19 | +# Building |
| 20 | + |
| 21 | +1. Clone this repository or download the latest stable release. |
| 22 | +2. From the command line, change to the `umapi-client.py` directory. |
| 23 | +3. To install, run the command `python setup.py install`. |
| 24 | +[**NOTE**: You may need admin/root privileges to install new packages in your environment. |
| 25 | +It is recommended that you use `virtualenv` to make a virtual python environment. |
| 26 | +See the [virtualenvwrapper documentation](http://virtualenvwrapper.readthedocs.io/en/latest/index.html) |
| 27 | +for more information] |
| 28 | +4. Some of the packages required by this module use encryption, and so may |
| 29 | +require you to do local builds of modules that use SSL. Typically, this |
| 30 | +will require you to have to `python-dev` module installed (on all platforms), |
| 31 | +and there may be other platform-specific requirements (e.g., on Mac OS X, |
| 32 | +you will need to make sure the latest SSH libraries are on your LIBPATH.) |
| 33 | +5. To run tests, use the command `python setup.py test`. |
| 34 | + |
| 35 | +# Getting Started |
| 36 | + |
| 37 | +Before making calls to the User Management API, you must do the following preparation steps: |
| 38 | + |
| 39 | +1. Obtain admin access to an Adobe Enterprise Dashboard. |
| 40 | +2. Set up a private/public certificate pair |
| 41 | +3. Create an integration on [Adobe.IO](https://www.adobe.io/) |
| 42 | + |
| 43 | +Step 1 is outside of the scope of this document. |
| 44 | +Please contact your organization's administrator of your Dashbord environment to obtain access. |
| 45 | +Steps 2 and 3 are outlined in the |
| 46 | +[UMAPI documentation](https://www.adobe.io/products/usermanagement/docs/gettingstarted.html). |
| 47 | + |
| 48 | +Once access is obtained, and an integration is set up, you will need the following configuration items: |
| 49 | + |
| 50 | +1. Organization ID |
| 51 | +2. Tech Account ID |
| 52 | +3. IMS Hostname |
| 53 | +4. IMS Auth Token Endpoint (JWT Endpoint) |
| 54 | +5. API Key |
| 55 | +6. Client Secret |
| 56 | +7. Private Key File (unencrypted form) |
| 57 | + |
| 58 | +All but the last of these will be available on the adobe.io page for your integration. |
| 59 | +The last one you should have on your local disk, and keep secret. |
| 60 | + |
| 61 | +Once these initial steps are taken, and configuration items are identified, |
| 62 | +then you will be able to use this library to make API calls. |
| 63 | + |
| 64 | +# Usage Documentation |
| 65 | + |
| 66 | +We are still working on the version 2 usage documentation. |
| 67 | + |
| 68 | +You can find the version 1 documentation |
| 69 | +[here](usage-instructions-v1.html). |
0 commit comments