ape-keyring: Store secrets for ape using Keyring.
Project description
ape-keyring
Store secrets and manage accounts for ape
using keyring.
Dependencies
- python3 version 3.7 or greater, python3-dev
Installation
via pip
You can install the latest release via pip
:
pip install ape-keyring
via setuptools
You can clone the repository and use setuptools
for the most up-to-date version:
git clone https://github.com/ApeWorX/ape-keyring.git
cd ape_keyring
python3 setup.py install
Quick Usage
Add accounts to keyring:
ape keyring import keyring_dev_0
and then when it prompts you, input your private key.
To add secrets to keyring:
ape keyring set WEB3_API_KEY
and then when it prompts you, input the value to your secret.
Optionally, scope your secrets to the active project.
ape keyring set DEPLOYMENT_SECRET --scope project
To enable your secrets to become environment variables at runtime,
use the ape-config.yaml
option set_env_vars
:
keyring:
set_env_vars: true
Development
This project is in early development and should be considered an alpha. Things might not work, breaking changes are likely. Comments, questions, criticisms and pull requests are welcomed.
License
This project is licensed under the Apache 2.0.
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
File details
Details for the file ape-keyring-0.1.0b1.tar.gz
.
File metadata
- Download URL: ape-keyring-0.1.0b1.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88128f25b88dd5304675ad06c802090cb6415a533787d18231d75d46dc751586 |
|
MD5 | 0d1f42df2a0c9020014e0d9b9ab94088 |
|
BLAKE2b-256 | ced28a390f57f03af1e308d5f7ca1f054acd41a005862b86fee3e06a942cbd7a |
File details
Details for the file ape_keyring-0.1.0b1-py3-none-any.whl
.
File metadata
- Download URL: ape_keyring-0.1.0b1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f68a32e7f5d0e4fa9d8527227db0506552111b7c2dc2e989b4183dcdc6f375d |
|
MD5 | f415a700c3283308cc26814ae9a4ef74 |
|
BLAKE2b-256 | a3472f84ccd5656441b931437bde09a02a9549e0c3d1dd6be866a225648a200c |