mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 00:32:16 -05:00
14 lines
246 B
Python
14 lines
246 B
Python
import os
|
|
|
|
from app import create_app
|
|
from credstash import getAllSecrets
|
|
|
|
|
|
# on aws get secrets and export to env
|
|
os.environ.update(getAllSecrets(region="eu-west-1"))
|
|
|
|
application = create_app()
|
|
|
|
if __name__ == "__main__":
|
|
application.run()
|