mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 00:32:16 -05:00
11 lines
274 B
Python
11 lines
274 B
Python
#!/usr/bin/env python
|
|
from app import notify_celery, create_app
|
|
from credstash import getAllSecrets
|
|
import os
|
|
|
|
# on aws get secrets and export to env
|
|
os.environ.update(getAllSecrets(region="eu-west-1"))
|
|
|
|
application = create_app("delivery")
|
|
application.app_context().push()
|