I'm using the AWS SDK in order to store images for my app. I'm using Firebase cloud functions rather than setting up my own server.
The AWS SDK is clever in that it can automatically detect environmental variables for connecting to an S3 instance: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html
The SDK automatically detects AWS credentials set as variables in your environment and uses them for SDK requests, eliminating the need to manage credentials in your application. The environment variables that you set to provide your credentials are:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN (optional)
However, in Firebase, all environmental variables must be lowercase. https://firebase.google.com/docs/functions/config-env
Keep in mind that only lowercase characters are accepted in keys; uppercase characters are not allowed.
Is there any solution to setting AWS environmental variables in Firebase functions?