@@ -13,57 +13,72 @@ of the OSI-approved MIT license. Copyright (c) 2016 Adobe Systems Incorporated.
13
13
# Installation
14
14
15
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.
16
+ Or you can download the desired release package
17
+ from [ GitHub] ( https://github.com/adobe-apiplatform/umapi-client.py/ )
18
+ and use pip to install from the download.
18
19
19
20
# Building
20
21
21
- 1 . Clone this repository or download the latest stable release.
22
+ 1 . Clone
23
+ [ the Github repository] ( https://github.com/adobe-apiplatform/umapi-client.py/ )
24
+ or download one of
25
+ [ the posted releases] ( https://github.com/adobe-apiplatform/umapi-client.py/releases ) .
22
26
2 . From the command line, change to the ` umapi-client.py ` directory.
23
27
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
+ [ ** NOTE** : To avoid needing admin/root privileges for the installation
29
+ of needed dependencies,
30
+ it is recommended that you use ` virtualenv ` (or equivalent)
31
+ to make a virtual python environment. See the
32
+ [ virtualenvwrapper documentation] ( http://virtualenvwrapper.readthedocs.io/en/latest/index.html )
33
+ for more information.
28
34
4 . Some of the packages required by this module use encryption, and so may
29
35
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.)
36
+ will require you to have a python installed that supports compiling
37
+ extensions.
33
38
5 . To run tests, use the command ` python setup.py test ` .
34
39
35
40
# Getting Started
36
41
37
- Before making calls to the User Management API, you must do the following preparation steps:
42
+ Before making calls to the User Management API, you must complete
43
+ the following prepartory steps:
38
44
39
45
1 . Obtain admin access to an Adobe Enterprise Dashboard.
40
- 2 . Set up a private/public certificate pair
46
+ 2 . Set up a private/public key pair
41
47
3 . Create an integration on [ Adobe.IO] ( https://www.adobe.io/ )
42
48
43
49
Step 1 is outside of the scope of this document.
44
- Please contact your organization's administrator of your Dashbord environment to obtain access.
50
+ Please contact an administrator of your organization's
51
+ Dashbord environment to obtain access.
45
52
Steps 2 and 3 are outlined in the
46
53
[ UMAPI documentation] ( https://www.adobe.io/products/usermanagement/docs/gettingstarted.html ) .
47
54
48
- Once access is obtained, and an integration is set up, you will need the following configuration items:
55
+ Once access is obtained, and an integration is set up,
56
+ you will need the following configuration values:
49
57
50
58
1 . Organization ID
51
59
2 . Tech Account ID
52
60
3 . IMS Hostname
53
- 4 . IMS Auth Token Endpoint (JWT Endpoint)
61
+ 4 . IMS Token Exchange Endpoint (aka JWT Endpoint)
54
62
5 . API Key
55
63
6 . Client Secret
56
64
7 . Private Key File (unencrypted form)
57
65
58
- All but the last of these will be available on the adobe.io page for your integration.
66
+ All but the last of these will be available on the
67
+ [ adobe.io page for your integration] ( https://www.adobe.io/console/integrations ) .
59
68
The last one you should have on your local disk, and keep secret.
60
69
61
70
Once these initial steps are taken, and configuration items are identified,
62
71
then you will be able to use this library to make API calls.
63
72
64
73
# Usage Documentation
65
74
66
- We are still working on the version 2 usage documentation.
75
+ All new users of the library are highly recommended
76
+ to pick up version 2, and follow the
77
+ [ version 2 usage documentation] ( usage-instructions-v2.html ) .
67
78
68
- You can find the version 1 documentation
69
- [ here] ( usage-instructions-v1.html ) .
79
+ Users who have applications running against version 1
80
+ of the library can still use the version 2 implementation,
81
+ but they will need to do some package renames to get access
82
+ to the version 1 library classes. This is
83
+ outlined in the
84
+ [ version 1 usage documentation] ( usage-instructions-v1.html ) .
0 commit comments