Request: Backend is not able to access AWS Credentials From OS environment
Project ID: loccality_14627
Project Link: https://app.crowdbotics.com/dashboard/app/14627
Staging Link: https://loccality-14627.botics.co/
Additional Info: There are settings in the settings.py of the Django Application, related to AWS, Backend is trying to access credentials from environment variables. I can not see these variables in the CB dashboard, therefore most of the APIs are not working, and also media is not being accessed.
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')
AWS_STORAGE_BUCKET_NAME = os.environ.get('AWS_STORAGE_BUCKET_NAME')
AWS_S3_SIGNATURE_VERSION = 's3v4'
@dmitrii.k your kind support here on priority, please.
Hi @umer.siddiq, thanks for writing in.
AWS variables are internal and hidden from the CB Dashboard. They are still available to your app’s code.
@umer.siddiq what is the update here
But, APIs are not working we are facing unexpected behavior, https://stackoverflow.com/questions/59640100/valueerror-at-required-parameter-name-not-set can you also add aws region as a env var, since if We change settings and stop using Aws then APIs start working.
@dmitrii.k please check above point
@umer.siddiq, I’m sorry you’re having so much trouble with your integration.
The region is already provided to you. Here are the variables that are related to AWS:
OK thank you let me test again,
Thanks @dmitrii.k We are able to fix it.
You are always welcome, @umer.siddiq!