Fabric Credential Manager Client
This is Fabric Credential Manager API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.1
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/fabric-testbed/fabric_credmgr.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/fabric-testbed/fabric_credmgr.git)
Then import the package:
import fabric_cm.credmgr.swagger_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import fabric_cm.credmgr.swagger_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
from fabric_cm.credmgr.swagger_client import DefaultApi
from fabric_cm.credmgr.swagger_client import ApiClient
from fabric_cm.credmgr.swagger_client.rest import ApiException
from fabric_cm.credmgr.swagger_client.configuration import Configuration
from pprint import pprint
# create an instance of the API class
api_instance = DefaultApi(ApiClient(configuration=Configuration()))
try:
# Return Public Keys to verify signature of the tokens
api_response = api_instance.certs_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->certs_get: %s\n" % e)
# create an instance of the API class
api_instance = DefaultApi(ApiClient(configuration=Configuration()))
try:
# version
api_response = api_instance.version_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->version_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://127.0.0.1:7000/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | certs_get | GET /certs | Return Public Keys to verify signature of the tokens |
| DefaultApi | version_get | GET /version | version |
| TokensApi | tokens_create_post | POST /tokens/create | Generate tokens for an user |
| TokensApi | tokens_refresh_post | POST /tokens/refresh | Refresh tokens for an user |
| TokensApi | tokens_revoke_post | POST /tokens/revoke | Revoke a refresh token for an user |
Documentation For Models
Documentation For Authorization
All endpoints do not require authorization.
Author
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabric-credmgr-client-0.0.3.tar.gz.
File metadata
- Download URL: fabric-credmgr-client-0.0.3.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd67164d1d3204931225c544f073bb06cd314df8876c49983191e17adb055187
|
|
| MD5 |
d4fec086e73e38eeb04596924d1dcf97
|
|
| BLAKE2b-256 |
ece79d2ee92edfae2eb097763bba7c10d69c677124c5462c51abd4b1a1264d26
|
File details
Details for the file fabric_credmgr_client-0.0.3-py3-none-any.whl.
File metadata
- Download URL: fabric_credmgr_client-0.0.3-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa3f4b44a03a07a3909c5ac27fa475f269eb21909a6c748bca534f6e21bef152
|
|
| MD5 |
9c624c0d12452cad3d4d674322d78cd1
|
|
| BLAKE2b-256 |
f0c50cb26884edb0dd0f924fa3d116f7dd1ecd09e72272e0edf56fba64fb00ae
|