get-hc-secrets 1.5.6__py3-none-any.whl → 1.5.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
getSecrets/__init__.py CHANGED
@@ -4,7 +4,6 @@ from os.path import join
4
4
  import requests
5
5
  import yaml
6
6
 
7
-
8
7
  _config_file = "~/.config/.vault/vault.yml"
9
8
  _home = getenv("HOME")
10
9
  _config = yaml.safe_load(open(join(_home, _config_file.replace("~/", ''))))
@@ -134,4 +133,3 @@ def upd_secret(id: str, data, repo: str = 'secret'):
134
133
  print(f"http error {resp.status_code}")
135
134
  logging.error(f"Vault api error {resp}")
136
135
  return None, None
137
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: get_hc_secrets
3
- Version: 1.5.6
3
+ Version: 1.5.7
4
4
  Summary: A package to read secrets from Hashicorp vault
5
5
  Author-email: Xavier Mayeur <xavier@mayeur.be>
6
6
  Project-URL: Homepage, https://github.com/xmayeur/getSecrets
@@ -21,7 +21,7 @@ getSecrets is a simple package that reads from the given engine ('secret' by def
21
21
  usage:
22
22
 
23
23
  ```
24
- from get_secrets import *
24
+ from getSecrets import *
25
25
 
26
26
  data = get_secret(<id>, [<secret>])
27
27
 
@@ -0,0 +1,6 @@
1
+ getSecrets/__init__.py,sha256=ytEzExxss5EqeasbEms3tOT8vNaBsw8gSoJyT0vv2nE,4858
2
+ get_hc_secrets-1.5.7.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
3
+ get_hc_secrets-1.5.7.dist-info/METADATA,sha256=ejlgK_uHdHsKvRQmRu6t7yZc8dCeGtMQ38KNY21gWY8,1050
4
+ get_hc_secrets-1.5.7.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
5
+ get_hc_secrets-1.5.7.dist-info/top_level.txt,sha256=X_v6_cB4900TWZoDSDtFDhZrxKcH4dJiPCIAcyL5Z7k,11
6
+ get_hc_secrets-1.5.7.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- getSecrets/__init__.py,sha256=JE7Cw8V-opwhy2mkyCvnCviobVJmaoAyfv1NFej_uT4,4860
2
- get_hc_secrets-1.5.6.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
3
- get_hc_secrets-1.5.6.dist-info/METADATA,sha256=00rak72VflSB5RbhWRGZaz1w2ElXGDIiIUaPIkv5A3E,1051
4
- get_hc_secrets-1.5.6.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
5
- get_hc_secrets-1.5.6.dist-info/top_level.txt,sha256=X_v6_cB4900TWZoDSDtFDhZrxKcH4dJiPCIAcyL5Z7k,11
6
- get_hc_secrets-1.5.6.dist-info/RECORD,,