Skip to main content

ikeystone python client

Project description

Build Status Codacy Badge codecov PyPI

ikeystone python client

Installation

PYPI

pip install ikeys-cli

GIT

pip install https://github.com/MrLYC/ikeys-cli/archive/master.zip

Quick start

from ikeys_cli import IKeytoneAPI
api = IKeytoneAPI(url="https://ikeystone.example.com/v1/")
api.authenticate(
    domain="server_domain",
    user="server_user",
    password="server_password",
    project="server_project",
)
result = api.domain.request.verify({
    "domian": "client_domain",
    "user": "client_user",
    "project": "client_project",
    "expires": "client_expires",
    "nonce": "client_nonce",
    "signature": "client_signature",
})

assert(result.errno == 0, result.errmsg)
print result.data

Project details


Download files

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

Source Distribution

ikeys-cli-0.3.7.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page