Simple Python client library for TheCA.cn
Project description
theca-sdk-python
Usage 1: Set environment variables
export DEVNULL_EMAIL="_your_registered_email"
export DEVNULL_ACCESS_KEY="_your_access_key_"
export DEVNULL_SECRET_KEY="_your_access_key_"
python3 -c 'from theca import create_cert; create_cert()'
ls -lt $HOME/.devnull/certs/
Usage 2: Serve a credential file
cat ~/.devnull/credentials
[default]
email = ca-by-devnull@outlook.com
accesskey = _your_access_key_
secretkey = _your_secret_key_
python3 -c 'from theca import create_cert; create_cert()'
ls -lt $HOME/.devnull/certs/
Trust your private CA -- todo
theca_add_ca --orgid 0c74e79c1014
theca_add_ca --email ca-by-devnull@outlook.com
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
theca-2.0.1.tar.gz
(15.8 kB
view hashes)
Built Distribution
theca-2.0.1-py3-none-any.whl
(16.5 kB
view hashes)