Never put AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY inside code running on EC2 or Lambda! Attach an IAM Role directly to the EC2 instance or Lambda function so AWS issues temporary, auto-rotating credentials automatically.
ADVERTISEMENT
We use cookies to collect and analyse information on site performance and usage, and to enhance and customise content and advertisements. Learn more
Required for basic website functionality.
Help us understand how visitors interact with the site.
Used to show relevant ads and measure ad performance.