Revert "Revert "remove credstash""

This reverts commit de41fde0d3.
This commit is contained in:
Leo Hemsted
2017-07-31 11:11:00 +01:00
parent cce8ef1c50
commit 9c212e78af
5 changed files with 3 additions and 26 deletions

View File

@@ -1,13 +1,6 @@
import os
from app import create_app
from credstash import getAllSecrets
# On AWS get secrets and export to env, skip this on Cloud Foundry
if os.getenv('VCAP_SERVICES') is None:
os.environ.update(getAllSecrets(region="eu-west-1"))
application = create_app()
if __name__ == "__main__":