summaryrefslogtreecommitdiffstats
path: root/custodia_pwmgr/custodia_pwmgr.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2015-10-15 17:57:42 +0200
committerChristian Heimes <christian@python.org>2015-10-15 17:57:42 +0200
commite2eb7931187dd8fd6580ef18027a9fe209b57dab (patch)
treec2bf3891c24d702ab21702b98ac0a23954561463 /custodia_pwmgr/custodia_pwmgr.py
parent5be736d996f8c6cc85c4d6e859deeea7f7088698 (diff)
downloadcustodia_pwmgr-e2eb7931187dd8fd6580ef18027a9fe209b57dab.tar.gz
custodia_pwmgr-e2eb7931187dd8fd6580ef18027a9fe209b57dab.tar.xz
custodia_pwmgr-e2eb7931187dd8fd6580ef18027a9fe209b57dab.zip
kubelet test deployment
Diffstat (limited to 'custodia_pwmgr/custodia_pwmgr.py')
-rwxr-xr-xcustodia_pwmgr/custodia_pwmgr.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/custodia_pwmgr/custodia_pwmgr.py b/custodia_pwmgr/custodia_pwmgr.py
index 02f8f9b..6bc3681 100755
--- a/custodia_pwmgr/custodia_pwmgr.py
+++ b/custodia_pwmgr/custodia_pwmgr.py
@@ -44,7 +44,7 @@ app = Flask(__name__)
app.config.update(
CUSTODIA_URL='http+unix://%s/secrets' % quote(CUSTODIA_SOCKET, safe=''),
# custodia_timeout=2,
- CUSTODIA_CONTAINER='pwmgr',
+ CUSTODIA_CONTAINER='passwords',
SECRET_KEY='neHoch4doichu9el',
DEBUG=True,
)
@@ -60,8 +60,8 @@ class FlaskCustodia(object):
# timeout = app.config.get('custodia_timeout')
self._container = app.config['CUSTODIA_CONTAINER']
self._client = CustodiaClient(url)
- self._client.headers['REMOTE_USER'] = self._container
- self.mkcontainer()
+ #self._client.headers['REMOTE_USER'] = self._container
+ #self.mkcontainer()
def _genpath(self, key):
if set(key) & set('/.'):
@@ -123,4 +123,4 @@ def delete_password():
return redirect(url_for('index'))
if __name__ == '__main__':
- app.run()
+ app.run(host='0.0.0.0')