Merge pull request #1381 from alphagov/remove-credstash

remove credstash
This commit is contained in:
Leo Hemsted
2017-07-27 13:11:40 +01:00
committed by GitHub
2 changed files with 1 additions and 7 deletions
-1
View File
@@ -5,7 +5,6 @@ Flask-Script==2.0.5
Flask-WTF==0.14.2 Flask-WTF==0.14.2
Flask-Login==0.4.0 Flask-Login==0.4.0
credstash==1.13.2
boto3==1.4.4 boto3==1.4.4
py-gfm==0.1.3 py-gfm==0.1.3
blinker==1.4 blinker==1.4
-5
View File
@@ -1,11 +1,6 @@
from credstash import getAllSecrets
from whitenoise import WhiteNoise from whitenoise import WhiteNoise
import os import os
# 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"))
from app import create_app # noqa from app import create_app # noqa
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))