github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/autoscaling/AVD-AWS-0129/docs.md (about) 1 2 EC2 instance data is used to pass start up information into the EC2 instance. This userdata must not contain access key credentials. Instead use an IAM Instance Profile assigned to the instance to grant access to other AWS Services. 3 4 ### Impact 5 User data is visible through the AWS Management console 6 7 <!-- DO NOT CHANGE --> 8 {{ remediationActions }} 9 10 ### Links 11 - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html 12 13