The awsenviron reads the key, value pair from AWS Parameter Store and adds them to environment variable. This was inspired by python-dotenv and 12-factor principles.
pip install awsenvironor
pipenv install awsenvironawsenviron.load_from_parameter_store(path='<your-path>')Now, you can access the variables either from system environment variable:
import os
DATABASE_URI = os.environ.get('DATABASE_URI')awsenviron use boto3 to authentication, click here to see the methods.