get-hc-secrets 1.5.5__tar.gz → 1.5.6__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: get_hc_secrets
3
- Version: 1.5.5
3
+ Version: 1.5.6
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "get_hc_secrets"
3
- version = '1.5.5'
3
+ version = '1.5.6'
4
4
  authors = [
5
5
  { name = "Xavier Mayeur", email = "xavier@mayeur.be" }
6
6
  ]
@@ -1,10 +1,10 @@
1
1
  import logging
2
2
  from os import getenv
3
3
  from os.path import join
4
-
5
4
  import requests
6
5
  import yaml
7
6
 
7
+
8
8
  _config_file = "~/.config/.vault/vault.yml"
9
9
  _home = getenv("HOME")
10
10
  _config = yaml.safe_load(open(join(_home, _config_file.replace("~/", ''))))
@@ -134,3 +134,4 @@ def upd_secret(id: str, data, repo: str = 'secret'):
134
134
  print(f"http error {resp.status_code}")
135
135
  logging.error(f"Vault api error {resp}")
136
136
  return None, None
137
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: get_hc_secrets
3
- Version: 1.5.5
3
+ Version: 1.5.6
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
@@ -1,9 +1,7 @@
1
1
  LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
- src/__init__.py
5
- src/get_hc_secrets/__init__.py
6
- src/get_hc_secrets/get_secrets.py
4
+ src/getSecrets/__init__.py
7
5
  src/get_hc_secrets.egg-info/PKG-INFO
8
6
  src/get_hc_secrets.egg-info/SOURCES.txt
9
7
  src/get_hc_secrets.egg-info/dependency_links.txt
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- __init__
2
- get_hc_secrets
File without changes
File without changes
File without changes