A package to read secrets from WIX site secrets or from a local file
Project description
getSecrets package
getWIXSecrets is a simple package that reads from a WIX site secrets vault It can also read data from the local vault.yml file
usage:
from getSecrets import *
data = get_secret(<id>)
usr, pwd = get_user_pwd(<id> )
updater = update_secret(<id>, <new_object>)
Vault parameters are stored in a config file ~/.config/.vault/.vault.yml
WIXAPI:
token: "<access token>"
url: https://wwww.mysite.com
uri: _functions/secrets
id:
item1: 1
item2: 2
username: user
password: !@•?
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
getwixsecrets-1.0.0.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getwixsecrets-1.0.0.tar.gz.
File metadata
- Download URL: getwixsecrets-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a05288ec244a2594891d4537c31ca3a93f5c61561b03ecd2108351a96d59f361
|
|
| MD5 |
67cf3f67fb13faf1fa4811aa072911aa
|
|
| BLAKE2b-256 |
c70ac7652efa8dd4888733ff9d472b813cd2f88460e82089752a91fc0a8c9cc7
|
File details
Details for the file getwixsecrets-1.0.0-py3-none-any.whl.
File metadata
- Download URL: getwixsecrets-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb7889a96927c9ee424859cafdd72e6aab7a5bd5e27bcdf20b3137c2407de2d
|
|
| MD5 |
49794dca06ae0d11e78ecbdc14325c64
|
|
| BLAKE2b-256 |
8ceae618c14d8ddaf031fe618806b9b6826dce8e4ab92e4d32b820239d19a476
|