Home
Support Forums

AWS_ACCESS_KEY_ID is a reserved environment variable

I’m trying to set AWS_ACCESS_KEY_ID in the UI under “Environment variables” and I get this when I save. What is the proper way yo set AWS access, secret, and region?

Hi, @donavon, the workaround would be to assign that key to a different environment variable and then modifying the site build code to reference the new name.

​Please let us know if there are other questions about this.

Hi,
I found an example linked to in the Netlify docs that might help others:


Looks like you can construct the AWS module with specifically named ENV variables, so you can easily call them something else in the Netlify console & reference them for construction.