Metadata-Version: 2.1
Name: httpie-adobeio
Version: 0.0.1
Summary: AdobeIO plugin for HTTPie.
Home-page: https://github.com/cpilsworth/httpie-cpilsworth
Author: Chris Pilsworth
Author-email: cpilsworth@gmail.com
License: Apache License 2.0
Download-URL: https://github.com/cpilsworth/httpie-adobeio/releases/download/0.0.1/httpie-adobeio-0.0.1.tar.gz
Description: httpie-adobeio
        ==============
        
        AdobeIO plugin for `HTTPie <https://httpie.org/>`_ that provides support for `Adobe IO service account authentication <https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/AuthenticationOverview/ServiceAccountIntegration.md/>`_.
        
        
        Installation
        ------------
        
        .. code-block:: bash
        
            $ 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
        -----
        
        .. code-block:: bash
        
            $ http --auth-type=adobeio --auth='client-key:client-secret' https://cloudmanager.adobe.io/api/programs
        
        
        You can also use `HTTPie sessions <https://httpie.org/doc#sessions>`_:
        
        .. code-block:: bash
        
            # 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
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Environment :: Plugins
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
