Skip to content

developmentseed/cognito_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages