ikeystone python client
Project description
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
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
ikeys-cli-0.3.7.tar.gz
(4.4 kB
view details)
File details
Details for the file ikeys-cli-0.3.7.tar.gz
.
File metadata
- Download URL: ikeys-cli-0.3.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6577cd41b843f3bf7f5bc1d78e8e01c5162bf83ba80323ea23b76a02f0f496 |
|
MD5 | 1e5a7983654df5380fab482e2218a2eb |
|
BLAKE2b-256 | b5c6b007ded8054ae95274915e1034836e4294dc1e97137199a578b977d2fcb8 |