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