Skip to main content

The whitelist checker for authentication with CGP HCA Data Store

Project description

Build Status


The whitelist checker for authentication with CGP HCA Data Store



Either add cgp-bouncer to your project requirements or

pip install cgp-bouncer

in a Python 3 virtualenv.

for development

Instead of the steps above clone the repo, cd into the repo, and run

pip install -e .

To test, run

python -m unittest -v

how to use

Using is simple!

Here's an example

>>> from bouncer import Bouncer
>>> b = Bouncer('commons/dev/whitelist')
>>> b.is_authorized('')
>>> b.is_authorized('')

This checks the AWS Secret Keeper called commons/dev/whitelist to see if the users and are in the whitelist.

adding users to the whitelist

  1. Go to the AWS Console and find the AWS Secrets Manager service.
  2. Find the secret to which you want to add. For example, one might search for commons/dev/whitelist.
  3. Under Secret value select Edit.
  4. Add your email with NO WHITESPACE to the comma separated list under the key email.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cgp-bouncer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cgp-bouncer-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page