A small example package
Project description
Cognito Client
A client to smooth over process of common authentication scenarios using AWS Cognito. Intended to be used within an interactive terminal environment (e.g. Python Notebook, CLI).
Usage
Install
pip install cognito_client
Use
Create an .env
file in the format of examples/env.example
and create a client in the same directory:
client = CognitoClient()
OR pass the Cognito identifiers as arguments to the function:
client = CognitoClient(
client_id="XXX",
user_pool_id="us-west-XXX",
identity_pool_id="us-west-2:XXX",
)
See examples/temporary-credentials-example.ipynb
.
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
cognito_client-0.0.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for cognito_client-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da1e850478de08509931bfa1cc9edc6d68f254218238fe7b1fbe8e6fb1ac6c6 |
|
MD5 | 7614b5ba886c5c11dd2343c869e47add |
|
BLAKE2b-256 | 902f220ffe168305cb8a7ec9645f1f9b8faa32169ce506c9390df1274de7d9f8 |