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.
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/PKG-INFO +1 -1
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/pyproject.toml +1 -1
- get_hc_secrets-1.5.5/src/get_hc_secrets/get_secrets.py → get_hc_secrets-1.5.6/src/getSecrets/__init__.py +2 -1
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/src/get_hc_secrets.egg-info/PKG-INFO +1 -1
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/src/get_hc_secrets.egg-info/SOURCES.txt +1 -3
- get_hc_secrets-1.5.6/src/get_hc_secrets.egg-info/top_level.txt +1 -0
- get_hc_secrets-1.5.5/src/__init__.py +0 -0
- get_hc_secrets-1.5.5/src/get_hc_secrets/__init__.py +0 -0
- get_hc_secrets-1.5.5/src/get_hc_secrets.egg-info/top_level.txt +0 -2
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/LICENSE +0 -0
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/README.md +0 -0
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/setup.cfg +0 -0
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/src/get_hc_secrets.egg-info/dependency_links.txt +0 -0
- {get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/src/get_hc_secrets.egg-info/requires.txt +0 -0
|
@@ -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,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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
getSecrets
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{get_hc_secrets-1.5.5 → get_hc_secrets-1.5.6}/src/get_hc_secrets.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|