Skip to main content

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


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.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getwixsecrets-1.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file getwixsecrets-1.0.1.tar.gz.

File metadata

  • Download URL: getwixsecrets-1.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for getwixsecrets-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8c0f7e5b87466c4336063588a6ecacafe7af1929e50d163242911196ca2d08cf
MD5 3bdd8399e6726454552ab976546e5ce0
BLAKE2b-256 b6ddcf035d80bd3d2dcb32b75adb59ab8d2a0592791e397f26270ff56a8cbcd0

See more details on using hashes here.

File details

Details for the file getwixsecrets-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: getwixsecrets-1.0.1-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

Hashes for getwixsecrets-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76bf31ca358a32d6e6fbba757baacea9c8d21099194a6089e47ea665e8b1e4a4
MD5 519e1fabfbca8fcab7f1c1e876132679
BLAKE2b-256 4618a148e52b83e72c687e0229b0e1b5e5f056f089e8d0b44acd3c54e8becae2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page