AdobeIO plugin for HTTPie.
Project description
AdobeIO plugin for HTTPie that provides support for Adobe IO service account authentication.
Installation
$ pip install httpie-adobeio
You should now see adobeio under --auth-type in $ http --help output.
Configuration
The plugin will look for a configuration file in the ~/.httpie_adobeio.ini location: .. code-block:
[DEFAULT] ims_base=https://ims-na1.adobelogin.com public_cert=-----BEGIN CERTIFICATE----- your public certificate here important: note leading indentation -----END CERTIFICATE----- private_key=-----BEGIN PRIVATE KEY----- your key private key here important: note leading indentation -----END PRIVATE KEY----- [profile-1] ims_org=ABC123@AdobeOrg account_id=ABC123@techacct.adobe.com api_key=ABC123ABC123ABC123ABC123ABC123 scopes=ent_cloudmgr_sdk ent_campaign_sdk
Shared settings can be saved in the DEFAULT section. It’s possible to have multiple profiles and reference them from username part of the --auth parameter
Usage
$ http --auth-type=adobeio --auth='profile:client-secret' https://cloudmanager.adobe.io/api/programs
You can also use HTTPie sessions:
# Create session
$ http --session=logged-in --auth-type=adobeio --auth='profile:client-secret' https://cloudmanager.adobe.io/api/programs
# Re-use auth
$ http --session=logged-in https://cloudmanager.adobe.io/api/programs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
httpie-adobeio-0.0.2.tar.gz
(2.7 kB
view details)
File details
Details for the file httpie-adobeio-0.0.2.tar.gz
.
File metadata
- Download URL: httpie-adobeio-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b44101725bb3d1cb724cf9672e8aa774ac1bcbba0ff0b1a19c0eac42c5e0ea |
|
MD5 | c75baa71ffae5e1888c3e1ac316d2eb6 |
|
BLAKE2b-256 | cab8841679419e08f408e84b5e964f9c5d042b09390252fc7c804e3b9d4f1477 |