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: !@•?
Metadata
Release files for getWixSecrets 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| getwixsecrets-1.0.2.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getwixsecrets-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / getwixsecrets-1.0.2.tar.gz
| Download URL | getwixsecrets-1.0.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6839fc523ee41343eceb93d57878e224c79af0baeae90a87c40873b4c8310cf
|
|
BLAKE2b-256 checksum How to use checksums |
04b43270ce0d2a55276f02e50be5d85165218c34efd12438a86485b4ec852e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / getwixsecrets-1.0.2-py3-none-any.whl
| Download URL | getwixsecrets-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8353343459683b23b051ace950c90371300d5183e6f7650b5386d90cc31e7197
|
|
BLAKE2b-256 checksum How to use checksums |
bca77d1c2d009df6ac45017180d84d310fe4f45c3d15320dc36824bb87c707b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|