Fabric Credential Manager API
Project description
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.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.credmgr.swagger_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import fabric.credmgr.swagger_client
from fabric.credmgr.swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = fabric.credmgr.swagger_client.DefaultApi(fabric.credmgr.swagger_client.ApiClient(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 | 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
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
Built Distribution
Hashes for fabric-credmgr-client-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b585a6494e3a1bc8437f6ad2356a927722c5a943af8affa84bd271690ab64efb |
|
MD5 | f269912262cbbad9dfbd6cc14ac0c610 |
|
BLAKE2b-256 | 8e3f4d62ad06f54e5522e8ed5909d2a01cf08a6953c5c998adf300b8251d8655 |
Hashes for fabric_credmgr_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4871e9d1313bbff317145002dd3bec00db2ce167bb994b174f98fcfdb1ba5e |
|
MD5 | bdfda211a1b4beab493cab5cd7eac0da |
|
BLAKE2b-256 | 55ea659c6aef69b43290ad5f98e11076787992154df11901b58cc322176c4e00 |