Skip to main content

Implements means of authorization delegation on cloud-based resource providers.

Project description

# CloudAuthz

## Installation
Install the latest release from PyPi:

pip install cloudauthz

## Example

An example on using Microsoft Azure backend:

from cloudauthz import *

ca = CloudAuthz()
res = ca.authorize('azure', {'tenant_id': TENANT_ID,
'client_id': CLIENT_ID,
'client_secret': CLIENT_SECRET})

An example of `res` is as the following:

'expiresIn': 3599,
'_authority': '',
'resource': u'',
'tokenType': u'Bearer',
'expiresOn': '2018-06-28 12:30:24.895661',
'isMRRT': True,
'_clientId': CLIENT_ID,
'accessToken': AN_ACCESS_TOKEN,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cloudauthz-0.2.0-py2-none-any.whl (7.5 kB) Copy SHA256 hash SHA256 Wheel py2
cloudauthz-0.2.0.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page